diff --git a/src/components/chat/ChatInput.tsx b/src/components/chat/ChatInput.tsx index 4d2f0b1..a945e66 100644 --- a/src/components/chat/ChatInput.tsx +++ b/src/components/chat/ChatInput.tsx @@ -19,7 +19,7 @@ interface ChatInputProps { export function ChatInput({ chatId, onSubmit }: ChatInputProps) { const [inputValue, setInputValue] = useAtom(chatInputValueAtom); const textareaRef = useRef(null); - const { settings, updateSettings } = useSettings(); + const { settings, updateSettings, isAnyProviderSetup } = useSettings(); const { streamMessage, isStreaming, setIsStreaming, error, setError } = useStreamChat(); const [selectedAppId] = useAtom(selectedAppIdAtom); @@ -117,7 +117,7 @@ export function ChatInput({ chatId, onSubmit }: ChatInputProps) { ) : (