Skip to content

Commit

Permalink
Update Chat.client.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
svajagan authored Nov 20, 2024
1 parent e066f21 commit 2c1da86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/chat/Chat.client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export const ChatImpl = memo(({ initialMessages, storeMessageHistory }: ChatProp

const handleProviderChange = (newProvider: ProviderInfo) => {
setProvider(newProvider);
Cookies.set('selectedProvider', newProvider.name, { expires: 30 });
Cookies.set('selectedProvider', newProvider, { expires: 30 });
};

return (
Expand Down

0 comments on commit 2c1da86

Please sign in to comment.