diff --git a/app/components/chat/BaseChat.tsx b/app/components/chat/BaseChat.tsx index da4d0c9d..411da94b 100644 --- a/app/components/chat/BaseChat.tsx +++ b/app/components/chat/BaseChat.tsx @@ -476,6 +476,7 @@ export const BaseChat = React.forwardRef( 0 || isStreaming || uploadedFiles.length > 0} isStreaming={isStreaming} + disabled={enabledProviders.length === 0} onClick={(event) => { if (isStreaming) { handleStop?.(); @@ -535,6 +536,7 @@ export const BaseChat = React.forwardRef( !isModelSettingsCollapsed, })} onClick={() => setIsModelSettingsCollapsed(!isModelSettingsCollapsed)} + disabled={enabledProviders.length === 0} >
{isModelSettingsCollapsed ? {model} : }