diff --git a/.gitignore b/.gitignore index 69d279030..b43105b77 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,4 @@ dist-ssr _worker.bundle Modelfile +modelfiles diff --git a/app/components/chat/BaseChat.tsx b/app/components/chat/BaseChat.tsx index bb0c52735..e91254a17 100644 --- a/app/components/chat/BaseChat.tsx +++ b/app/components/chat/BaseChat.tsx @@ -113,7 +113,6 @@ export const BaseChat = React.forwardRef( ref, ) => { const TEXTAREA_MAX_HEIGHT = chatStarted ? 400 : 200; - const [provider, setProvider] = useState(DEFAULT_PROVIDER); const [apiKeys, setApiKeys] = useState>({}); useEffect(() => { @@ -200,8 +199,6 @@ export const BaseChat = React.forwardRef( provider={provider} setProvider={setProvider} providerList={providerList} - provider={provider} - setProvider={setProvider} />