mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-28 20:04:26 +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:
@@ -59,7 +59,6 @@ declare global {
|
||||
|
||||
export interface Settings {
|
||||
transcode: TranscodeSettings
|
||||
chatbotAgentId?: string | null
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user