yao/yao/models
Max 24ad563070 Add assistant info retrieval and chat mode management
- 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.
2025-12-10 12:15:55 +08:00
..
agent Add assistant info retrieval and chat mode management 2025-12-10 12:15:55 +08:00
job Enhance job management and category handling 2025-09-02 18:36:14 +08:00
kb Update asset metadata and enhance collection features in the API 2025-10-31 11:05:46 +08:00
user Enhance user type management with locale support 2025-10-13 16:16:40 +08:00
attachment.mod.yao Enhance attachment manager with dual text content handling 2025-12-03 18:29:24 +08:00
audit.mod.yao Enhance model definitions and loading process for system models 2025-07-15 16:33:14 +08:00
config.mod.yao Enhance model definitions and loading process for system models 2025-07-15 16:33:14 +08:00
dsl.mod.yao Update model options to include permission field for user-related models 2025-08-03 15:59:14 +08:00
invitation.mod.yao Add invitation model and related functionality 2025-10-16 19:08:54 +08:00
member.mod.yao Implement attachment wrapper parsing and Base64 conversion in attachment manager 2025-10-30 09:59:09 +08:00
role.mod.yao Refactor user and model structures to enhance organization and role management 2025-09-16 09:35:18 +08:00
team.mod.yao Update team model and creation logic to support role management 2025-10-20 17:00:33 +08:00
user.mod.yao Update asset modification times and enhance user authentication flow 2025-10-16 10:28:00 +08:00