mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 05:17: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
|
|
@ -461,6 +461,7 @@ export function supportGuoba () {
|
|||
{ label: '讯飞星火认知大模型V2.0', value: 'apiv2' },
|
||||
{ label: '讯飞星火认知大模型V3.0', value: 'apiv3' },
|
||||
{ label: '讯飞星火认知大模型V3.5', value: 'apiv3.5' },
|
||||
{ label: '讯飞星火认知大模型V4.0', value: 'apiv4.0' },
|
||||
{ label: '讯飞星火助手', value: 'assistants' }
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -738,6 +738,10 @@
|
|||
"label": "讯飞星火认知大模型V3.5",
|
||||
"value": "apiv3.5"
|
||||
},
|
||||
{
|
||||
"label": "讯飞星火认知大模型V4.0",
|
||||
"value": "apiv4.0"
|
||||
},
|
||||
{
|
||||
"label": "讯飞星火助手",
|
||||
"value": "assistants"
|
||||
|
|
|
|||
|
|
@ -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