- Introduced `GetInfo` method in the Assistant struct to return basic assistant information with optional locale support for internationalization. - Implemented `GetInfoByIDs` function to retrieve information for multiple assistants based on their IDs, enhancing batch processing capabilities. - Updated chat buffer management to include a mode parameter, allowing for dynamic switching between chat and task modes. - Enhanced message handling to store and retrieve the mode associated with each message, improving context tracking during chat sessions. - Revised tests to validate the new functionalities, ensuring accurate retrieval of assistant information and proper mode management in chat operations. |
||
|---|---|---|
| .. | ||
| assistant.go | ||
| assistant_test.go | ||
| chat.go | ||
| chat_test.go | ||
| message.go | ||
| message_test.go | ||
| resume.go | ||
| resume_test.go | ||
| utils.go | ||
| xun.go | ||