mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix:修复glm4指令bad request
This commit is contained in:
parent
4900f40502
commit
327802ed7b
1 changed files with 5 additions and 1 deletions
|
|
@ -88,7 +88,11 @@ export class ChatGLM4Client extends BaseClient {
|
||||||
authorization: `Bearer ${this._accessToken}`,
|
authorization: `Bearer ${this._accessToken}`,
|
||||||
'content-type': 'application/json',
|
'content-type': 'application/json',
|
||||||
referer: 'https://www.chatglm.cn/main/alltoolsdetail',
|
referer: 'https://www.chatglm.cn/main/alltoolsdetail',
|
||||||
origin: 'https://www.chatglm.cn'
|
origin: 'https://www.chatglm.cn',
|
||||||
|
'X-App-Platform': 'pc',
|
||||||
|
'X-App-Version': '0.0.1',
|
||||||
|
'App-Name': 'chatglm',
|
||||||
|
Host: 'chatglm.cn'
|
||||||
},
|
},
|
||||||
referrer: 'https://www.chatglm.cn/main/alltoolsdetail',
|
referrer: 'https://www.chatglm.cn/main/alltoolsdetail',
|
||||||
timeout: 60000
|
timeout: 60000
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue