IGenAIAssistantAgentChooserProps
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Properties for the AgentChooser slot.
export type IGenAIAssistantAgentChooserProps = {
agents: GenAIAgent[];
conversations?: IChatConversationLocal[];
conversationAgentId?: string;
selectedAgentId?: string;
effectiveSelectedAgentId?: string;
onSelectAgent: (agentId: string | undefined, options?: {
showChangeEvent?: boolean;
}) => void;
selectedEffort?: GenAIChatEffort;
onSelectEffort?: (effort: GenAIChatEffort) => void;
isDisabled?: boolean;
isLoading?: boolean;
};
References: GenAIAgent, IChatConversationLocal