mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +00:00
feat: 语音模式下,自动转文字的阈值可以调整
This commit is contained in:
parent
5ddeebfcc0
commit
19fca0e174
2 changed files with 13 additions and 1 deletions
|
|
@ -57,10 +57,21 @@ export function supportGuoba () {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'defaultTTSRole',
|
field: 'defaultTTSRole',
|
||||||
label: '语音模式默认橘色',
|
label: '语音模式默认角色',
|
||||||
bottomHelpMessage: '语音模式下,未指定角色时使用的角色。若为空,将使用随机角色回复。',
|
bottomHelpMessage: '语音模式下,未指定角色时使用的角色。若为空,将使用随机角色回复。',
|
||||||
component: 'Input'
|
component: 'Input'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
field: 'ttsAutoFallbackThreshold',
|
||||||
|
label: '语音转文字阈值',
|
||||||
|
helpMessage: '语音模式下,字数超过这个阈值就降级为文字',
|
||||||
|
bottomHelpMessage: '语音转为文字的阈值。',
|
||||||
|
component: 'InputNumber',
|
||||||
|
componentProps: {
|
||||||
|
min: 0,
|
||||||
|
max: 299
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
field: 'autoUsePicture',
|
field: 'autoUsePicture',
|
||||||
label: '长文本自动转图片',
|
label: '长文本自动转图片',
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ const defaultConfig = {
|
||||||
defaultTTSRole: '纳西妲',
|
defaultTTSRole: '纳西妲',
|
||||||
autoUsePicture: true,
|
autoUsePicture: true,
|
||||||
autoUsePictureThreshold: 1200,
|
autoUsePictureThreshold: 1200,
|
||||||
|
ttsAutoFallbackThreshold: 99,
|
||||||
conversationPreserveTime: 0,
|
conversationPreserveTime: 0,
|
||||||
toggleMode: 'at',
|
toggleMode: 'at',
|
||||||
quoteReply: true,
|
quoteReply: true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue