Skip to content

Enhance internationalization support and logging in Assistant and LLM…#1335

Merged
trheyi merged 1 commit intoYaoApp:mainfrom
trheyi:main
Nov 21, 2025
Merged

Enhance internationalization support and logging in Assistant and LLM…#1335
trheyi merged 1 commit intoYaoApp:mainfrom
trheyi:main

Conversation

@trheyi
Copy link
Contributor

@trheyi trheyi commented Nov 21, 2025

… components

  • Integrated i18n translations for trace logging messages in the Assistant's Stream method, improving localization for user-facing messages.
  • Updated logging in the OpenAI provider and CUI writer to utilize i18n for error messages, enhancing clarity and consistency across different locales.
  • Added new embedded template handling in the i18n package, allowing for more flexible message formatting with variable substitutions.
  • Improved test coverage for i18n functionalities, ensuring robust handling of various translation scenarios and edge cases.

… components

- Integrated i18n translations for trace logging messages in the Assistant's Stream method, improving localization for user-facing messages.
- Updated logging in the OpenAI provider and CUI writer to utilize i18n for error messages, enhancing clarity and consistency across different locales.
- Added new embedded template handling in the i18n package, allowing for more flexible message formatting with variable substitutions.
- Improved test coverage for i18n functionalities, ensuring robust handling of various translation scenarios and edge cases.
@trheyi trheyi merged commit ef51377 into YaoApp:main Nov 21, 2025
2 of 3 checks passed
@github-actions
Copy link

Thank you for the PR! The db: MySQL8.0 redis: 5 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: SQLite3 redis: 5 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: MySQL5.7 redis: 6 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: MySQL8.0 redis: 4 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: MySQL5.7 redis: 4 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: MySQL5.7 redis: 5 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: SQLite3 redis: 4 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: SQLite3 redis: 6 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: MySQL8.0 redis: 6 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

✨DONE✨ db: SQLite3 redis: 5 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: SQLite3 redis: 6 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: SQLite3 redis: 4 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: MySQL5.7 redis: 6 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: MySQL5.7 redis: 5 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: MySQL5.7 redis: 4 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: MySQL8.0 redis: 4 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: MySQL8.0 redis: 5 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: MySQL8.0 redis: 6 mongo: 6.0 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