- Enhanced chat buffer and message handling to support dynamic connector switching, allowing users to change the connector during a chat session. - Updated the `ChatBuffer` and `BufferedMessage` structures to include a `connector` field, enabling tracking of the connector used for each message. - Modified the `EnsureChat` method to skip chat creation when history is disabled, improving chat session management. - Revised tests to validate the new connector functionality, ensuring accurate message retrieval and connector state management. - Updated `CHAT_STORAGE_DESIGN.md` to reflect the addition of the `last_connector` field in chat metadata and message structures. |
||
|---|---|---|
| .. | ||
| assistant.go | ||
| assistant_test.go | ||
| chat.go | ||
| chat_test.go | ||
| message.go | ||
| message_test.go | ||
| resume.go | ||
| resume_test.go | ||
| utils.go | ||
| xun.go | ||