mirror of
https://github.com/vastxie/99AI.git
synced 2024-11-16 11:42:25 +08:00
Update openai.js
修复阿里/清华模型无法使用的问题
This commit is contained in:
parent
95908b3436
commit
6598d27d43
1
dist/modules/chatgpt/openai.js
vendored
1
dist/modules/chatgpt/openai.js
vendored
|
@ -85,7 +85,6 @@ async function sendMessageFromOpenAi(messagesHistory, inputs, uploadService) {
|
|||
responseType: 'stream',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
Accept: "application/json",
|
||||
Authorization: `Bearer ${apiKey}`,
|
||||
},
|
||||
data: {
|
||||
|
|
Loading…
Reference in New Issue
Block a user