yao/agent/search/rerank
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 Refactor Search Module and Update Documentation 2025-12-13 15:01:53 +08:00
builtin.go Refactor Search Module and Update Documentation 2025-12-13 15:01:53 +08:00
builtin_test.go Refactor Search Module and Update Documentation 2025-12-13 15:01:53 +08:00
mcp.go Refactor Search Module and Update Documentation 2025-12-13 15:01:53 +08:00
mcp_test.go Refactor Search Module and Update Documentation 2025-12-13 15:01:53 +08:00
reranker.go Refactor Search Module and Update Documentation 2025-12-13 15:01:53 +08:00
reranker_test.go Refactor Search Module and Update Documentation 2025-12-13 15:01:53 +08:00