Update bym.js (#735)

* feat: new bing (WIP)

* fix: update CopilotAIClient.js

* fix: gemini强制调用tool;real at

* feat: add bym support
This commit is contained in:
ikechan8370 2024-12-29 19:57:55 +08:00 committed by GitHub
parent 5f6c4e5abb
commit 26444df2a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 599 additions and 30 deletions

View file

@ -45,6 +45,18 @@ export function supportGuoba () {
bottomHelpMessage: '开启后,则允许用户使用#chat1/#chat3/#chatglm/#bing等命令无视全局模式进行聊天',
component: 'Switch'
},
{
field: 'assistantLabel',
label: 'AI名字',
bottomHelpMessage: 'AI认为的自己的名字当你问他你是谁是他会回答这里的名字',
component: 'Input'
},
{
field: 'enableBYM',
label: '开启伪人模式',
bottomHelpMessage: '开启后将在群内随机发言伪装成人。取消机器人前缀体验最佳。目前仅支持gemini会使用gemini的配置。发言包括AI名字会必定触发回复。暂不支持分群管理可在不同群禁用或启动“ChatGPT-Plugin 伪人bym”功能',
component: 'Switch'
},
{
field: 'proxy',
label: '代理服务器地址',
@ -157,12 +169,6 @@ export function supportGuoba () {
bottomHelpMessage: '你可以在这里写入你希望AI回答的风格比如希望优先回答中文回答长一点等',
component: 'InputTextArea'
},
{
field: 'assistantLabel',
label: 'AI名字',
bottomHelpMessage: 'AI认为的自己的名字当你问他你是谁是他会回答这里的名字',
component: 'Input'
},
{
field: 'temperature',
label: 'temperature',
@ -973,6 +979,25 @@ export function supportGuoba () {
label: '合成emoji的API地址默认谷歌厨房',
component: 'Input'
},
{
field: 'bymRate',
label: '伪人模式触发概率,单位为%',
component: 'InputNumber',
componentProps: {
min: 0,
max: 100
}
},
{
field: 'bymPreset',
label: '伪人模式的额外预设',
component: 'Input'
},
{
field: 'bymFuckPrompt',
label: '伪人模式骂人反击的设定词',
component: 'Input'
},
{
label: '以下为Azure chatGPT的配置',
component: 'Divider'