Merge branch 'v2' into v2

This commit is contained in:
ycxom 2025-02-12 13:41:54 +08:00 committed by GitHub
commit 775483c989
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 40 additions and 9 deletions

View file

@ -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,

View file

@ -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)
}