mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-06 16:24:17 +00:00
feat(chat): allow user to choose chatbot in sidebar
- Remove chatbotAgentId from team settings and schema definition - Make agentId a required parameter in ChatRequest DTO and chatService - Fetch chatbot agents on chatbot sidebar mount and default to first enabled chat agent - Render an agent selector dropdown inside the message input area - Update existing chat sessions to follow the selected agent when continuing a conversation
This commit is contained in:
@@ -840,5 +840,6 @@
|
||||
"global_chatbot_description": "选择在全局聊天机器人边栏中进行对话的智能体。",
|
||||
"select_chatbot_agent": "选择聊天机器人智能体",
|
||||
"no_chat_agents_warning": "未找到聊天智能体。请先在下方创建聊天智能体。",
|
||||
"settings_saved": "设置保存成功"
|
||||
"settings_saved": "设置保存成功",
|
||||
"select_agent": "选择智能体"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user