type: whisper api key

This commit is contained in:
2023-12-15 23:43:16 +08:00
committed by GitHub
parent 09d43ed566
commit 639c3d5877

View File

@@ -938,7 +938,7 @@ export default function ChatBOX(props: {
method: "POST", method: "POST",
headers: { headers: {
Authorization: `Bearer ${ Authorization: `Bearer ${
chatStore.whisper_api || chatStore.apiKey chatStore.whisper_key || chatStore.apiKey
}`, }`,
}, },
body: formData, body: formData,