Merge branch 'v2' into v2

This commit is contained in:
ycxom 2025-02-03 23:11:11 +08:00 committed by GitHub
commit 7ab7e00ed3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 561 additions and 678 deletions

View file

@ -151,6 +151,12 @@ export function supportGuoba () {
bottomHelpMessage: '仅建议gpt-4-32k和gpt-3.5-turbo-16k-0613开启gpt-4-0613也可。开启后机器人可以群管、收发图片、发视频发音乐、联网搜索等。注意较费token。配合开启读取群聊上下文效果更佳',
component: 'Switch'
},
{
field: 'forwardReasoning',
label: '是否转发思考过程',
bottomHelpMessage: 'OpenAI的o系列、deepseek的r系列等思考模型的思考过程是否以转发形式发出。默认开启',
component: 'Switch'
},
{
field: 'openAiBaseUrl',
label: 'OpenAI API服务器地址',
@ -979,6 +985,7 @@ export function supportGuoba () {
label: '合成emoji的API地址默认谷歌厨房',
component: 'Input'
},
{
field: 'bymRate',
label: '伪人模式触发默认概率,单位为%',
@ -988,6 +995,20 @@ export function supportGuoba () {
max: 100
}
},
{
field: 'bymMode',
label: '伪人模型',
component: 'Select',
componentProps: {
options: [
{ label: 'Gemini推荐', value: 'gemini' },
{ label: '通义千问', value: 'qwen' },
{ label: 'OpenAI API', value: 'api' },
{ label: '星火', value: 'xh' },
{ label: 'Claude', value: 'claude' }
]
}
},
{
field: 'bymPreset',
label: '伪人模式的额外预设',
@ -1082,7 +1103,7 @@ export function supportGuoba () {
field: 'bymFuckList',
label: '伪人模式反击的触发词',
bottomHelpMessage: '请输入用于伪人模式下骂人反击的触发词,每个词组将被单独处理',
component: "GTags",
component: 'GTags',
componentProps: {
placeholder: '请输入反击触发词',
allowAdd: true,
@ -1092,11 +1113,11 @@ export function supportGuoba () {
content: '添加新的反击触发词',
okText: '添加',
rules: [
{ required: true, message: '触发词不能为空' },
],
{ required: true, message: '触发词不能为空' }
]
},
valueParser: ((value) => value.split(',') || []),
},
valueParser: (value) => value.split(',') || []
}
},
{
label: '以下为Azure chatGPT的配置',