yao/agent/search/handlers/web
Max 7da06a4ae1 feat(search): refactor builtinSearch to utilize websearch tool and enhance context handling
- Updated the builtinSearch function to delegate search operations to the websearch tool, improving modularity and maintainability.
- Enhanced context handling by passing the agent context to builtinSearch, allowing for user and team identification during searches.
- Added a new DecryptValue function in cloud.go to streamline value decryption, delegating to the existing config.DecryptValue method.
- Updated .gitignore to include tools/README.md for better project organization.
2026-05-02 19:58:03 +08:00
..
agent.go Refactor Agent Response Handling to Use Structured Response Types 2025-12-18 17:32:49 +08:00
agent_test.go Update tests to use context and correct URL references 2025-12-19 20:10:16 +08:00
handler.go feat(search): refactor builtinSearch to utilize websearch tool and enhance context handling 2026-05-02 19:58:03 +08:00
mcp.go Enhance Assistant and Search Modules with Contextual Logging and Refactorings 2025-12-13 14:05:26 +08:00
mcp_test.go Enhance Assistant and Search Modules with Contextual Logging and Refactorings 2025-12-13 14:05:26 +08:00
serpapi.go Update serpAPIKnowledge struct to allow flexible type for 'Type' field 2025-12-19 15:26:18 +08:00
serpapi_test.go Update test case for SerpAPIProvider to reflect new query and expected result 2025-12-19 19:48:00 +08:00
serper.go Add Search API configuration and enhance documentation 2025-12-13 12:37:07 +08:00
serper_test.go Add Search API configuration and enhance documentation 2025-12-13 12:37:07 +08:00
tavily.go Add Search API configuration and enhance documentation 2025-12-13 12:37:07 +08:00
tavily_test.go Add Search API configuration and enhance documentation 2025-12-13 12:37:07 +08:00