- 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. |
||
|---|---|---|
| .. | ||
| assistant.go | ||
| assistant_test.go | ||
| chat.go | ||
| history.go | ||
| utils.go | ||
| xun.go | ||
| xun_test.go | ||