fix(web): model config's slider add range desc

This commit is contained in:
zhaoying
2026-04-01 17:52:07 +08:00
parent 378b110d91
commit 767f9ab17c
3 changed files with 4 additions and 1 deletions

View File

@@ -1457,6 +1457,7 @@ export const en = {
appCount: '{{count}} apps shared to this space',
resetFeaturesTip: 'Please reconfigure the [Conversation Features - File Upload] settings',
logTitle: 'Description',
range: 'Range',
},
userMemory: {
userMemory: 'User Memory',

View File

@@ -829,6 +829,7 @@ export const zh = {
appCount: '{{count}}个应用共享到此空间',
resetFeaturesTip: '请重新配置【对话功能-文件上传】功能',
logTitle: '描述',
range: '范围',
},
table: {
totalRecords: '共 {{total}} 条记录'

View File

@@ -171,12 +171,13 @@ const ModelConfigModal = forwardRef<ModelConfigModalRef, ModelConfigModalProps>(
key={item.key}
name={item.key}
label={t(`application.${item.key}`)}
extra={t(`application.${item.key}_desc`)}
extra={<>{t(`application.${item.key}_desc`)} | {t('application.range')}: [{item.min}, {item.max}]</>}
>
<RbSlider
max={item.max}
step={item.step}
min={item.min}
isInput={true}
/>
</FormItem>
))}