Skip to content

Commit

Permalink
Fix model switcher (langchain-ai#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 authored Jan 26, 2024
1 parent 3b91341 commit fd63afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chat-langchain/app/components/ChatWindow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function ChatWindow(props: { conversationId: string }) {
useEffect(() => {
setLlm(searchParams.get("llm") ?? defaultLlmValue);
setLlmIsLoading(false);
});
}, []);

const [chatHistory, setChatHistory] = useState<
{ human: string; ai: string }[]
Expand Down

0 comments on commit fd63afd

Please sign in to comment.