mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-24 04:29:24 +00:00
- 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
17 lines
488 B
TypeScript
Generated
17 lines
488 B
TypeScript
Generated
/**
|
|
* | output |
|
|
* | --- |
|
|
* | "Select Agent" |
|
|
*
|
|
* @param {Select_AgentInputs} inputs
|
|
* @param {{ locale?: "en" | "zh" }} options
|
|
* @returns {LocalizedString}
|
|
*/
|
|
export const select_agent: ((inputs?: Select_AgentInputs, options?: {
|
|
locale?: "en" | "zh";
|
|
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Select_AgentInputs, {
|
|
locale?: "en" | "zh";
|
|
}, {}>;
|
|
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
export type Select_AgentInputs = {};
|