yao/agent/store/xun
Max fa5b98f5bf Add UpdateAssistant method for modifying assistant fields
- Implemented UpdateAssistant method in Mongo, Redis, and Xun stores to allow partial updates of assistant fields.
- Updated Store interface to include the new UpdateAssistant method, enhancing the flexibility of assistant management.
- Added comprehensive tests for UpdateAssistant functionality, covering various scenarios including single and multiple field updates, JSON field handling, and error cases.
- Updated API routes to support PUT requests for updating assistants, ensuring proper permission checks and response handling.
2025-11-08 16:21:35 +08:00
..
assistant.go Add UpdateAssistant method for modifying assistant fields 2025-11-08 16:21:35 +08:00
assistant_test.go Add UpdateAssistant method for modifying assistant fields 2025-11-08 16:21:35 +08:00
chat.go Refactor store imports and update store initialization logic 2025-11-07 18:27:43 +08:00
history.go Enhance i18n support in assistant model and storage 2025-11-07 18:59:59 +08:00
utils.go Enhance getBool function to support multiple data types 2025-11-08 14:58:14 +08:00
xun.go Refactor store imports and update store initialization logic 2025-11-07 18:27:43 +08:00
xun_test.go Refactor store imports and update store initialization logic 2025-11-07 18:27:43 +08:00