mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +00:00
fix: xh 4.0
This commit is contained in:
parent
500b743390
commit
b1eff1700e
3 changed files with 7 additions and 0 deletions
|
|
@ -88,6 +88,8 @@ export default class XinghuoClient {
|
|||
APILink = '/v3.1/chat'
|
||||
} else if (Config.xhmode === 'apiv3.5') {
|
||||
APILink = '/v3.5/chat'
|
||||
} else if (Config.xhmode === 'apiv4.0') {
|
||||
APILink = '/v4.0/chat'
|
||||
}
|
||||
const date = new Date().toGMTString()
|
||||
const algorithm = 'hmac-sha256'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue