yao/agent/store/xun
Max bbcec4d186 Enhance i18n support in assistant model and storage
- Added null handling for input in the I18n Parse method to prevent errors with nil values.
- Refactored string parsing logic into a separate method for improved clarity and maintainability.
- Updated assistant translation logic to streamline the application of i18n translations for various fields, including name, description, and prompts.
- Introduced new tests to validate the retrieval of assistants with locale-specific translations, ensuring correct behavior across different languages.
- Enhanced the GetHistoryWithFilter method to maintain consistent silent message filtering and pagination logic.
2025-11-07 18:59:59 +08:00
..
assistant.go Enhance i18n support in assistant model and storage 2025-11-07 18:59:59 +08:00
chat.go Refactor store imports and update store initialization logic 2025-11-07 18:27:43 +08:00
history.go Enhance i18n support in assistant model and storage 2025-11-07 18:59:59 +08:00
utils.go Refactor store imports and update store initialization logic 2025-11-07 18:27:43 +08:00
xun.go Refactor store imports and update store initialization logic 2025-11-07 18:27:43 +08:00
xun_assistant_test.go Enhance i18n support in assistant model and storage 2025-11-07 18:59:59 +08:00
xun_test.go Refactor store imports and update store initialization logic 2025-11-07 18:27:43 +08:00