mirror of
https://github.com/vastxie/99AI.git
synced 2025-09-18 01:36:37 +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',
|
responseType: 'stream',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
Accept: "application/json",
|
|
||||||
Authorization: `Bearer ${apiKey}`,
|
Authorization: `Bearer ${apiKey}`,
|
||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
|
Loading…
Reference in New Issue
Block a user