mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 05:47:11 +00:00
fix: xh 3.5
This commit is contained in:
parent
ba83d6c31d
commit
fc8bace2c5
1 changed files with 1 additions and 1 deletions
|
|
@ -377,7 +377,7 @@ export default class XinghuoClient {
|
||||||
let chatId = option?.chatId
|
let chatId = option?.chatId
|
||||||
let image = option?.image
|
let image = option?.image
|
||||||
|
|
||||||
if (Config.xhmode == 'api' || Config.xhmode == 'apiv2' || Config.xhmode == 'apiv3' || Config.xhmode == 'assistants') {
|
if (Config.xhmode == 'api' || Config.xhmode == 'apiv2' || Config.xhmode == 'apiv3' || Config.xhmode == 'apiv3.5' || Config.xhmode == 'assistants') {
|
||||||
if (!Config.xhAppId || !Config.xhAPISecret || !Config.xhAPIKey) throw new Error('未配置api')
|
if (!Config.xhAppId || !Config.xhAPISecret || !Config.xhAPIKey) throw new Error('未配置api')
|
||||||
let Prompt = []
|
let Prompt = []
|
||||||
// 设定
|
// 设定
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue