- 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. |
||
|---|---|---|
| .. | ||
| bindata.go | ||
| data.go | ||
| data_test.go | ||