From 2c1da8681b112ae8b49d341ce3f6a166ab22c6c1 Mon Sep 17 00:00:00 2001 From: svajagan Date: Wed, 20 Nov 2024 10:08:33 +0530 Subject: [PATCH] Update Chat.client.tsx --- app/components/chat/Chat.client.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/chat/Chat.client.tsx b/app/components/chat/Chat.client.tsx index fddee630b..57b3e4e26 100644 --- a/app/components/chat/Chat.client.tsx +++ b/app/components/chat/Chat.client.tsx @@ -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 (