yao/agent/search
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
..
defaults Implement search configuration management and testing enhancements 2025-12-13 11:19:20 +08:00
handlers Enhance Assistant and Search Modules with Contextual Logging and Refactorings 2025-12-13 14:05:26 +08:00
interfaces Refactor QueryDSL and search types to utilize GOU types directly 2025-12-13 11:56:31 +08:00
types Add Search API configuration and enhance documentation 2025-12-13 12:37:07 +08:00
citation.go Implement search configuration management and testing enhancements 2025-12-13 11:19:20 +08:00
DESIGN.md Enhance Assistant and Search Modules with Contextual Logging and Refactorings 2025-12-13 14:05:26 +08:00
reference.go Implement search configuration management and testing enhancements 2025-12-13 11:19:20 +08:00
registry.go Implement search configuration management and testing enhancements 2025-12-13 11:19:20 +08:00
search.go Implement search configuration management and testing enhancements 2025-12-13 11:19:20 +08:00