From 8c6e420546ac749f5ac71efced78b2bb873f06e6 Mon Sep 17 00:00:00 2001 From: Anirban Kar Date: Wed, 13 Nov 2024 00:04:41 +0530 Subject: [PATCH] type fix --- app/components/chat/BaseChat.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/chat/BaseChat.tsx b/app/components/chat/BaseChat.tsx index 0421de1..f7fe80a 100644 --- a/app/components/chat/BaseChat.tsx +++ b/app/components/chat/BaseChat.tsx @@ -85,7 +85,7 @@ interface BaseChatProps { input?: string; model?: string; setModel?: (model: string) => void; - provider: string; + provider?: string; setProvider?: (provider: string) => void; handleStop?: () => void; sendMessage?: (event: React.UIEvent, messageInput?: string) => void;