yao/agent/assistant
Max bbba6b9fdb Add modes and database support to Assistant model
- Enhanced the `loadMap` function to include handling for `modes` and `default_mode` fields, allowing for flexible operational modes and a specified primary mode.
- Introduced a new `DB` field in the Assistant model to support database configuration, improving data management capabilities.
- Implemented the `ToModes` conversion function to facilitate various input types for modes, ensuring robust handling and validation.
- Added comprehensive tests for the `ToModes` function to validate its functionality across different input scenarios, enhancing overall reliability.
- Updated relevant methods to ensure consistent integration of the new fields and functionalities within the Assistant model.
2025-12-03 10:50:24 +08:00
..
handlers Enhance tool call handling in stream processing 2025-12-01 16:25:35 +08:00
hook Refactor agent and assistant structure for improved clarity and performance 2025-11-30 11:47:25 +08:00
agent.go Refactor assistant capabilities retrieval and enhance API endpoints 2025-12-03 10:05:23 +08:00
agent_interrupt_test.go Enhance state management with safeSend method to prevent panics on closed channels 2025-11-26 19:45:22 +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 Add modes and default mode fields to Assistant model 2025-12-02 19:02:31 +08:00
build.go Enhance assistant prompt handling with new preset and global prompt controls 2025-12-02 16:24:22 +08:00
build_mcp_test.go Add MCP hook override functionality in Assistant tests and implementation 2025-11-29 20:45:39 +08:00
build_prompts_test.go Enhance assistant prompt handling with new preset and global prompt controls 2025-12-02 16:24:22 +08:00
build_test.go Remove deprecated agent_test.go and mcp package files; refactor context and trace handling for improved functionality. 2025-11-28 19:26:33 +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 Add modes and database support to Assistant model 2025-12-03 10:50:24 +08:00
load_store_test.go Add GetStorage function and enhance loadSource logic 2025-12-02 16:54:57 +08:00
load_test.go Enhance assistant model with global prompts functionality 2025-12-02 15:37:41 +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 delegated assistant context handling in Stream method 2025-11-30 11:57:02 +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 Refactor model capabilities to use OpenAI struct 2025-12-02 11:33:09 +08:00
utils.go Refactor assistant handling and storage integration 2025-11-07 11:20:59 +08:00