Skip to content

Commit 0dccfd1

Browse files
authored
fix: 修复最大响应 tokens 提示显示错误的问题 (labring#4048)
1 parent 867e8ac commit 0dccfd1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/web/i18n/en/account_model.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"edit_channel": "Channel configuration",
2222
"enable_channel": "Enable",
2323
"forbid_channel": "Disabled",
24-
"input maxToken_tip": "The model max_tokens parameter, if left blank, means that the model does not support it.",
24+
"maxToken_tip": "The model max_tokens parameter, if left blank, means that the model does not support it.",
2525
"key_type": "API key format:",
2626
"log": "Call log",
2727
"log_detail": "Log details",

packages/web/i18n/zh-CN/account_model.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"edit_channel": "渠道配置",
2222
"enable_channel": "启用",
2323
"forbid_channel": "禁用",
24-
"input maxToken_tip": "模型 max_tokens 参数,如果留空,则代表模型不支持该参数。",
24+
"maxToken_tip": "模型 max_tokens 参数,如果留空,则代表模型不支持该参数。",
2525
"key_type": "API key 格式: ",
2626
"log": "调用日志",
2727
"log_detail": "日志详情",

packages/web/i18n/zh-Hant/account_model.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"edit_channel": "渠道配置",
2020
"enable_channel": "啟用",
2121
"forbid_channel": "禁用",
22-
"input maxToken_tip": "模型 max_tokens 參數,如果留空,則代表模型不支持該參數。",
22+
"maxToken_tip": "模型 max_tokens 參數,如果留空,則代表模型不支持該參數。",
2323
"key_type": "API key 格式:",
2424
"log": "調用日誌",
2525
"log_detail": "日誌詳情",

projects/app/src/pageComponents/account/model/AddModelBox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ export const ModelEditModal = ({
351351
<Td>
352352
<HStack spacing={1}>
353353
<Box>{t('common:core.chat.response.module maxToken')}</Box>
354-
<QuestionTip label={t('account_model:input maxToken_tip')} />
354+
<QuestionTip label={t('account_model:maxToken_tip')} />
355355
</HStack>
356356
</Td>
357357
<Td textAlign={'right'}>

0 commit comments

Comments
 (0)