feat: Add tts Switch to chat configuration modal #2088 (#2206)

### What problem does this PR solve?

feat: Add tts Switch to chat configuration modal  #2088

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-09-03 10:36:49 +08:00
committed by GitHub
parent e949594579
commit 9081bc969a
4 changed files with 16 additions and 0 deletions

View File

@ -99,6 +99,15 @@ const AssistantSetting = ({ show }: ISegmentedContentProps) => {
>
<Switch />
</Form.Item>
<Form.Item
label={t('tts')}
valuePropName="checked"
name={['prompt_config', 'tts']}
tooltip={t('ttsTip')}
initialValue={false}
>
<Switch />
</Form.Item>
<KnowledgeBaseItem></KnowledgeBaseItem>
</section>
);