yao/agent/i18n
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
..
i18n.go Enhance i18n support in assistant model and storage 2025-11-07 18:59:59 +08:00
i18n_test.go Enhance i18n support in assistant model and storage 2025-11-07 18:59:59 +08:00