- Updated SaveHistory method across Mongo, Redis, and Weaviate to include a context parameter, improving flexibility in message storage. - Modified the Assistant struct in types.go to add new fields: Type, Avatar, and Flows, enhancing the representation of assistant attributes. - Adjusted the Xun implementation to support the new context handling in SaveHistory, ensuring messages can now include contextual information. - Updated tests to reflect changes in message structure and ensure proper functionality with the new context parameter. |
||
|---|---|---|
| .. | ||
| assistant | ||
| conversation | ||
| message | ||
| api.go | ||
| api_test.go | ||
| context.go | ||
| hooks.go | ||
| load.go | ||
| load_test.go | ||
| neo.go | ||
| neo_test.go | ||
| process.go | ||
| test_data.go | ||
| types.go | ||