yao/agent/store/xun
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
..
assistant.go Add database support to Assistant model and related functionalities 2025-12-02 18:45:03 +08:00
assistant_test.go Add database support to Assistant model and related functionalities 2025-12-02 18:45:03 +08:00
chat.go Implement temporary mock SID for chat handling and comment out userID retrieval in chat queries 2025-11-23 09:55:04 +08:00
history.go Implement temporary mock SID for chat handling and comment out userID retrieval in chat queries 2025-11-23 09:55:04 +08:00
utils.go Refactor completion request handling in context tests 2025-11-11 16:23:22 +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