yao/agent/search/handlers/web
Max b3cf5a09d9 Enhance Assistant and Search Modules with Contextual Logging and Refactorings
- Added logging for hook start and completion in the Assistant's Stream method to improve traceability during execution.
- Refactored the AgentGetterFunc to utilize the caller package, enhancing modularity and reducing circular dependencies.
- Updated the CallAgent function to check for the initialized AgentGetterFunc from the caller package, ensuring proper agent loading.
- Enhanced the Search handler to support an optional context parameter, improving flexibility for agent mode operations.
- Refined the agentSearch function to delegate search requests to a new AgentProvider, streamlining the search process.
- Updated DESIGN.md to reflect changes in search modes and the integration of the caller package, ensuring comprehensive documentation.
2025-12-13 14:05:26 +08:00
..
agent.go Enhance Assistant and Search Modules with Contextual Logging and Refactorings 2025-12-13 14:05:26 +08:00
agent_test.go Enhance Assistant and Search Modules with Contextual Logging and Refactorings 2025-12-13 14:05:26 +08:00
handler.go Enhance Assistant and Search Modules with Contextual Logging and Refactorings 2025-12-13 14:05:26 +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 Add Search API configuration and enhance documentation 2025-12-13 12:37:07 +08:00
serpapi_test.go Add Search API configuration and enhance documentation 2025-12-13 12:37:07 +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