yao/agent/assistant
Max a96946d8bb Refactor Assistant context handling to improve options management
- Updated the Assistant methods to accept an Options parameter, enhancing flexibility in context management.
- Removed the Connector field from the context and related structures, transitioning to a more streamlined options-based approach.
- Adjusted various tests to accommodate the new options handling, ensuring comprehensive coverage of the updated functionality.
- Enhanced the Create and Next hooks to return options alongside responses, improving the overall usability of the API.
- Cleaned up deprecated fields and improved context initialization for better maintainability.
2025-12-04 10:43:32 +08:00
..
handlers Enhance Assistant functionality with improved content handling and debugging 2025-12-03 21:35:54 +08:00
hook Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
agent.go Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
agent_interrupt_test.go Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
agent_next_test.go Refactor Assistant's Stream method to support Next hook responses 2025-11-29 22:52:06 +08:00
assistant.go Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
build.go Enhance assistant prompt handling with new preset and global prompt controls 2025-12-02 16:24:22 +08:00
build_content.go Enhance Assistant functionality with improved content handling and debugging 2025-12-03 21:35:54 +08:00
build_mcp_test.go Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
build_prompts_test.go Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
build_test.go Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
cache.go ⚠️ BREAKING: Removed the Studio package and renamed Neo to Agent. Configuration file path changed from neo/neo.yml to agent/agent.yml. 2025-11-06 18:13:54 +08:00
cache_test.go Refactor to decouple attachments, RAG, and AI assistant components. 2025-11-06 19:09:44 +08:00
history.go Refactor MCP server configuration and enhance Assistant functionality 2025-11-29 10:04:19 +08:00
llm.go Add LLM failure tracing in executeLLMStream and executeLLMForToolRetry methods 2025-12-02 09:32:21 +08:00
load.go Enhance Assistant functionality with improved content handling and debugging 2025-12-03 21:35:54 +08:00
load_store_test.go Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
load_test.go Update ConnectorOptions handling in tests and types 2025-12-03 10:57:47 +08:00
mcp.go Add MCP hook override functionality in Assistant tests and implementation 2025-11-29 20:45:39 +08:00
mcp_test.go Enhance Assistant's message building and completion options handling 2025-11-29 11:08:42 +08:00
next.go Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +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 Enhance Assistant functionality with improved content handling and debugging 2025-12-03 21:35:54 +08:00
utils.go Refactor assistant handling and storage integration 2025-11-07 11:20:59 +08:00