yao/agent/assistant
Max da48896bdf Add database support to Assistant model and related functionalities
- Introduced a new `Database` type to encapsulate database models and options.
- Updated the `Assistant` model to include a `DB` field for database configuration.
- Enhanced the `Map`, `Clone`, and `Update` methods to handle the new `DB` field appropriately.
- Implemented the `ToDatabase` conversion function to support various input types for database initialization.
- Added comprehensive tests to validate the integration of the database functionality within the assistant model.
- Updated relevant fields and methods to ensure consistent handling of the new database configuration.
2025-12-02 18:45:03 +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 and update data handling 2025-12-02 12:36:47 +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 database support to Assistant model and related functionalities 2025-12-02 18:45:03 +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 GetStorage function and enhance loadSource logic 2025-12-02 16:54:57 +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