Update openai.js

修复阿里/清华模型无法使用的问题
This commit is contained in:
vastxie 2024-02-23 17:13:25 +08:00 committed by GitHub
parent 95908b3436
commit 6598d27d43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -85,7 +85,6 @@ async function sendMessageFromOpenAi(messagesHistory, inputs, uploadService) {
responseType: 'stream',
headers: {
'Content-Type': 'application/json',
Accept: "application/json",
Authorization: `Bearer ${apiKey}`,
},
data: {