yao/agent/i18n
Max 750dd311b9 Enhance Assistant Search Functionality and Cache Management
- Updated the `shouldAutoSearch` method to include additional parameters for improved intent detection, allowing for better decision-making on whether to execute auto search.
- Introduced a new `checkSearchIntent` method to utilize the `__yao.needsearch` agent for determining the necessity of a search based on user input.
- Implemented a `ClearExcept` method in the cache to selectively clear non-system agents while preserving essential system agents during cache management.
- Updated the `LoadBuiltIn` function to maintain system agents in the cache, ensuring they remain available for use.
- Enhanced test coverage for loading system agents and validating search intent detection, ensuring robustness in the assistant's search capabilities.
- Revised localization files to include new messages for search intent feedback, improving user experience during search operations.
2025-12-16 16:44:35 +08:00
..
builtin.go Enhance Assistant Search Functionality and Cache Management 2025-12-16 16:44:35 +08:00
i18n.go Fix indentation in i18n translation fallback logic and trace manager closing bracket for improved readability 2025-11-21 17:33:18 +08:00
i18n_test.go Update i18n test cases to reflect changes in built-in message formats 2025-11-29 17:48:28 +08:00