feat: 各模式分开的指令

This commit is contained in:
ikechan8370 2023-03-20 22:52:38 +08:00
parent c72df75d5a
commit c53b86c181
5 changed files with 193 additions and 42 deletions

View file

@ -59,7 +59,7 @@ export function supportGuoba () {
{
field: 'defaultTTSRole',
label: '语音模式默认角色',
bottomHelpMessage: '语音模式下,未指定角色时使用的角色。若为空,将使用随机角色回复。',
bottomHelpMessage: '语音模式下,未指定角色时使用的角色。若留空,将使用随机角色回复。若用户通过指令指定了角色,将忽略本设定',
component: 'Select',
componentProps: {
options: speakers.concat('随机').map(s => { return { label: s, value: s } })
@ -120,6 +120,12 @@ export function supportGuoba () {
]
}
},
{
field: 'allowOtherMode',
label: '允许其他模式',
bottomHelpMessage: '开启后,则允许用户使用#chat1/#chat3/#chatglm/#bing等命令无视全局模式进行聊天',
component: 'Switch'
},
{
field: 'quoteReply',
label: '图片引用消息',
@ -227,12 +233,6 @@ export function supportGuoba () {
bottomHelpMessage: '即使配置了proxy依然使用OpenAI反代',
component: 'Switch'
},
{
field: 'thinkingTips',
label: '思考提示',
bottomHelpMessage: '是否开启AI正在思考中的提示信息。',
component: 'Switch'
},
{
field: 'promptPrefixOverride',
label: 'AI风格',