mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +00:00
Merge branch 'v2' into v2
This commit is contained in:
commit
775483c989
5 changed files with 40 additions and 9 deletions
|
|
@ -71,13 +71,13 @@ export class bym extends plugin {
|
|||
if (!Config.enableBYM) {
|
||||
return false
|
||||
}
|
||||
|
||||
const sender = e.sender.user_id
|
||||
const atBot = e.atme
|
||||
const card = e.sender.card || e.sender.nickname
|
||||
const group = e.group_id
|
||||
let ALLRole = 'default'
|
||||
|
||||
|
||||
let prop = Math.floor(Math.random() * 100)
|
||||
if (Config.assistantLabel && e.msg?.includes(Config.assistantLabel)) {
|
||||
prop = -1
|
||||
|
|
@ -291,7 +291,7 @@ export class bym extends plugin {
|
|||
}
|
||||
|
||||
let rsp = await core.sendMessage(e.msg, {}, Config.bymMode, e, {
|
||||
enableSmart: true,
|
||||
enableSmart: Config.smartMode,
|
||||
system: {
|
||||
api: system,
|
||||
qwen: system,
|
||||
|
|
|
|||
|
|
@ -1810,12 +1810,24 @@ azure语音:Azure 语音是微软 Azure 平台提供的一项语音服务,
|
|||
let config = []
|
||||
config.push(`当前模式:${use}`)
|
||||
config.push(`\n当前API模型:${Config.model}`)
|
||||
config.push(`\n当前开启API流式输出:${Config.apiStream}`)
|
||||
config.push(`\n当前开启BYM模式:${Config.enableBYM}`)
|
||||
config.push(`\n当前BYM模式:${Config.bymMode}`)
|
||||
config.push(`\n当前智能模式:${Config.smartMode}`)
|
||||
if (e.isPrivate) {
|
||||
config.push(`\n当前APIKey:${Config.apiKey}`)
|
||||
config.push(`\n当前API反代:${Config.openAiBaseUrl}`)
|
||||
config.push(`\n当前必应反代:${Config.sydneyReverseProxy}`)
|
||||
config.push(`\n当前Gemini API Key:${Config.geminiKey}`)
|
||||
config.push(`\n当前Gemini反代:${Config.geminiBaseUrl}`)
|
||||
config.push(`\n当前Claude API 反代:${Config.claudeApiBaseUrl}`)
|
||||
config.push(`\n当前Claude API Key:${Config.claudeApiKey}`)
|
||||
config.push(`\n当前开启工具箱:${Config.enableToolbox}`)
|
||||
}
|
||||
config.push(`\n当前星火模型:${Config.xhmode}`)
|
||||
config.push(`\n当前Claude模型:${Config.claudeApiModel}`)
|
||||
config.push(`\n当前Gemini模型:${Config.geminiModel}`)
|
||||
config.push(`\n当前Qwen模型:${Config.qwenModel}`)
|
||||
this.reply(config)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue