From 639c3d5877b15d22064e748d38d067037a9b3e56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=91=E5=A2=A8=E6=B0=B4=E9=B1=BC?= Date: Fri, 15 Dec 2023 23:43:16 +0800 Subject: [PATCH] type: whisper api key --- src/chatbox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chatbox.tsx b/src/chatbox.tsx index 9aa107d..39c497c 100644 --- a/src/chatbox.tsx +++ b/src/chatbox.tsx @@ -938,7 +938,7 @@ export default function ChatBOX(props: { method: "POST", headers: { Authorization: `Bearer ${ - chatStore.whisper_api || chatStore.apiKey + chatStore.whisper_key || chatStore.apiKey }`, }, body: formData,