- 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. |
||
|---|---|---|
| .. | ||
| agent.go | ||
| agent_test.go | ||
| builtin.go | ||
| builtin_test.go | ||
| mcp.go | ||
| mcp_test.go | ||
| reranker.go | ||
| reranker_test.go | ||