fix: 增加均衡模式

This commit is contained in:
ikechan8370 2024-03-15 10:52:21 +08:00
parent b822e49d9a
commit a4d07b9d46
6 changed files with 96 additions and 107 deletions

View file

@ -1057,7 +1057,7 @@ azure语音Azure 语音是微软 Azure 平台提供的一项语音服务,
let map = {
精准: 'Precise',
创意: 'Creative',
均衡: 'Precise',
均衡: 'Balanced',
Sydney: 'Creative',
sydney: 'Creative',
悉尼: 'Creative',
@ -1069,7 +1069,7 @@ azure语音Azure 语音是微软 Azure 平台提供的一项语音服务,
Config.toneStyle = map[tongStyle]
await this.reply('切换成功')
} else {
await this.reply('没有这种风格。支持的风格:`精准`和`创意`,均支持设定')
await this.reply('没有这种风格。支持的风格:`精准`、`均衡`和`创意`,均支持设定')
}
}
@ -1103,9 +1103,11 @@ azure语音Azure 语音是微软 Azure 平台提供的一项语音服务,
api3: 'API3',
chatglm: 'ChatGLM-6B',
claude: 'Claude',
poe: 'Poe',
claude2: 'claude.ai',
chatglm4: 'ChatGLM-4',
xh: '星火',
qwen: '通义千问'
qwen: '通义千问',
gemini: 'Gemini'
}
let modeText = modeMap[mode || 'api']
let message = `请访问yunzai.chat查看文档。当前为 ${modeText} 模式。`