Feat: Translate the maxRounds field of the chat settings #3221 (#10010)

### What problem does this PR solve?

Feat: Translate the maxRounds field of the chat settings #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-09-10 10:56:34 +08:00
committed by GitHub
parent 5cf2c97908
commit a9cc992d13
5 changed files with 21 additions and 18 deletions

View File

@ -22,6 +22,7 @@ export const useRenameChat = () => {
name: '',
icon: '',
language: 'English',
description: '',
prompt_config: {
empty_response: '',
prologue: t('chat.setAnOpenerInitial'),
@ -37,7 +38,7 @@ export const useRenameChat = () => {
llm_id: tenantInfo.data.llm_id,
llm_setting: {},
similarity_threshold: 0.2,
vector_similarity_weight: 0.30000000000000004,
vector_similarity_weight: 0.3,
top_n: 8,
}),
[t, tenantInfo.data.llm_id],