yao/agent/assistant
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
..
handlers Enhance chat buffer and streaming message handling 2025-12-09 18:08:12 +08:00
hook Enhance assistant initialization and context management 2025-12-11 15:17:17 +08:00
agent.go Enhance Assistant and Search Modules with Contextual Logging and Refactorings 2025-12-13 14:05:26 +08:00
agent_interrupt_test.go Enhance assistant initialization and context management 2025-12-11 15:17:17 +08:00
agent_next_test.go Update agent_next_test.go and DESIGN.md for improved test reliability and documentation clarity 2025-12-12 18:35:56 +08:00
assistant.go Enhance Assistant and Search Modules with Contextual Logging and Refactorings 2025-12-13 14:05:26 +08:00
build.go Implement search configuration management and testing enhancements 2025-12-13 11:19:20 +08:00
build_content.go Enhance content processing with forceUses configuration 2025-12-06 17:38:21 +08:00
build_mcp_test.go Refactor Assistant script handling to use HookScript 2025-12-05 14:45:09 +08:00
build_prompts_test.go Enhance assistant initialization and context management 2025-12-11 15:17:17 +08:00
build_test.go Enhance assistant initialization and context management 2025-12-11 15:17:17 +08:00
cache.go Refactor Assistant cache tests and enhance cache functionality 2025-12-05 19:49:44 +08:00
cache_test.go Refactor Assistant cache tests and enhance cache functionality 2025-12-05 19:49:44 +08:00
chat.go Enhance assistant initialization and context management 2025-12-11 15:17:17 +08:00
chat_test.go Enhance assistant initialization and context management 2025-12-11 15:17:17 +08:00
history.go Enhance assistant initialization and context management 2025-12-11 15:17:17 +08:00
history_test.go Refactor history loading tests and context management 2025-12-11 15:32:06 +08:00
llm.go Enhance assistant initialization and context management 2025-12-11 15:17:17 +08:00
load.go Implement search configuration management and testing enhancements 2025-12-13 11:19:20 +08:00
load_merge_test.go Implement search configuration management and testing enhancements 2025-12-13 11:19:20 +08:00
load_process_test.go Refactor Assistant cache tests and enhance cache functionality 2025-12-05 19:49:44 +08:00
load_store_test.go Implement search configuration management and testing enhancements 2025-12-13 11:19:20 +08:00
load_test.go Refactor Assistant script handling to use HookScript 2025-12-05 14:45:09 +08:00
mcp.go Enhance assistant initialization and context management 2025-12-11 15:17:17 +08:00
mcp_test.go Enhance context handling in MCP tests and JS API 2025-12-05 20:20:21 +08:00
next.go Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
permission.go Enhance Assistant stream functionality and remove history handling 2025-12-08 10:28:26 +08:00
scripts.go Implement authorized script execution and enhance context handling 2025-12-08 11:42:01 +08:00
scripts_process_test.go Refactor Assistant cache tests and enhance cache functionality 2025-12-05 19:49:44 +08:00
scripts_test.go Implement authorized script execution and enhance context handling 2025-12-08 11:42:01 +08:00
source.go Add GetStorage function and enhance loadSource logic 2025-12-02 16:54:57 +08:00
trace.go Refactor model capabilities to use OpenAI struct 2025-12-02 11:33:09 +08:00
types.go Implement search configuration management and testing enhancements 2025-12-13 11:19:20 +08:00
utils.go Refactor assistant handling and storage integration 2025-11-07 11:20:59 +08:00