Skip to content

Commit

Permalink
Fixing merge conflicts in BaseChat.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
coleam00 committed Nov 9, 2024
1 parent 936a9c0 commit b3fe207
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ dist-ssr
_worker.bundle

Modelfile
modelfiles
3 changes: 0 additions & 3 deletions app/components/chat/BaseChat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
ref,
) => {
const TEXTAREA_MAX_HEIGHT = chatStarted ? 400 : 200;
const [provider, setProvider] = useState(DEFAULT_PROVIDER);
const [apiKeys, setApiKeys] = useState<Record<string, string>>({});

useEffect(() => {
Expand Down Expand Up @@ -200,8 +199,6 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
provider={provider}
setProvider={setProvider}
providerList={providerList}
provider={provider}
setProvider={setProvider}
/>
<APIKeyManager
provider={provider}
Expand Down

0 comments on commit b3fe207

Please sign in to comment.