- 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. |
||
|---|---|---|
| .. | ||
| agent.go | ||
| agent_test.go | ||
| handler.go | ||
| mcp.go | ||
| mcp_test.go | ||
| serpapi.go | ||
| serpapi_test.go | ||
| serper.go | ||
| serper_test.go | ||
| tavily.go | ||
| tavily_test.go | ||