fix:修复glm4指令bad request (#780)

This commit is contained in:
daitaodelaowang 2025-03-27 14:22:54 +08:00 committed by GitHub
parent 4900f40502
commit ac52cd7dbe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -88,7 +88,11 @@ export class ChatGLM4Client extends BaseClient {
authorization: `Bearer ${this._accessToken}`,
'content-type': 'application/json',
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',
timeout: 60000