Skip to content

feat(corpus): honor A2AT_LANGUAGE for prompts and case files - #88

Merged
zhangwenjun-huawei merged 2 commits into
project-openan:mainfrom
zhangwenjun-huawei:main
Oct 25, 2026
Merged

zhangwenjun-huawei merged 2 commits into
project-openan:mainfrom
zhangwenjun-huawei:main

Conversation

@zhangwenjun-huawei

@zhangwenjun-huawei zhangwenjun-huawei commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Description

feat(corpus): honor A2AT_LANGUAGE for prompts and case files

  • read A2AT_LANGUAGE from a2a-t-corpus/.env or the process environment, default to zh-CN, and fail fast on unsupported values
  • use the configured language in the Task-T, Negotiation-T and Notification-T runtimes
  • select language-specific input_case_*_.json files and skip with an actionable message when the variant is absent
  • suffix non-default-language transcripts and summaries with the language
  • validate language variants in the self-guards and add non-live config tests
  • document the language switch in env.example and the READMEs

Related Issue(s)

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Other (describe below)

Checklist

  • I have read the CONTRIBUTING guide
  • All commits are signed off (git commit -s) per the DCO
  • New and existing tests pass locally
  • I have added tests that prove my fix is effective or my feature works (if applicable)
  • I have added or updated documentation as needed
  • New source files include the SPDX license header

Additional Context

- read A2AT_LANGUAGE from a2a-t-corpus/.env or the process environment, default to zh-CN, and fail fast on unsupported values
- use the configured language in the Task-T, Negotiation-T and Notification-T runtimes
- select language-specific input_case_*_<lang>.json files and skip with an actionable message when the variant is absent
- suffix non-default-language transcripts and summaries with the language
- validate language variants in the self-guards and add non-live config tests
- document the language switch in env.example and the READMEs

Signed-off-by: zhangwenjun-huawei <zhangwenjun19@huawei.com>
@zhangwenjun-huawei
zhangwenjun-huawei requested a review from a team as a code owner October 25, 2026 17:50
@zhangwenjun-huawei
zhangwenjun-huawei force-pushed the main branch 2 times, most recently from d0d8c35 to 4e1cfde Compare October 25, 2026 17:53
@zhangwenjun-huawei zhangwenjun-huawei changed the title docs: add the observability integration guide (en+zh) feat(corpus): honor A2AT_LANGUAGE for prompts and case files Oct 25, 2026
@zhangwenjun-huawei
zhangwenjun-huawei merged commit 24ea288 into project-openan:main Oct 25, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant