yao/agent/search/handlers/web
Max 637a0c9cbd Refactor Agent Response Handling to Use Structured Response Types
- Updated the agent's Stream and response processing methods to return and handle *context.Response directly, eliminating the need for type assertions.
- Simplified test cases by removing unnecessary type conversions and directly accessing response fields.
- Enhanced the extraction of data from Next hook responses, ensuring more robust handling of custom data structures.
- Improved overall code readability and maintainability by streamlining response handling logic across various components.
2025-12-18 17:32:49 +08:00
..
agent.go Refactor Agent Response Handling to Use Structured Response Types 2025-12-18 17:32:49 +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