fix: 修复最大响应 tokens 提示显示错误的问题 (#4048)

This commit is contained in:
Wenhao Zhu
2025-03-10 10:01:25 +08:00
committed by GitHub
parent 867e8acf27
commit 0dccfd176d
4 changed files with 4 additions and 4 deletions

View File

@@ -21,7 +21,7 @@
"edit_channel": "Channel configuration", "edit_channel": "Channel configuration",
"enable_channel": "Enable", "enable_channel": "Enable",
"forbid_channel": "Disabled", "forbid_channel": "Disabled",
"input maxToken_tip": "The model max_tokens parameter, if left blank, means that the model does not support it.", "maxToken_tip": "The model max_tokens parameter, if left blank, means that the model does not support it.",
"key_type": "API key format:", "key_type": "API key format:",
"log": "Call log", "log": "Call log",
"log_detail": "Log details", "log_detail": "Log details",

View File

@@ -21,7 +21,7 @@
"edit_channel": "渠道配置", "edit_channel": "渠道配置",
"enable_channel": "启用", "enable_channel": "启用",
"forbid_channel": "禁用", "forbid_channel": "禁用",
"input maxToken_tip": "模型 max_tokens 参数,如果留空,则代表模型不支持该参数。", "maxToken_tip": "模型 max_tokens 参数,如果留空,则代表模型不支持该参数。",
"key_type": "API key 格式: ", "key_type": "API key 格式: ",
"log": "调用日志", "log": "调用日志",
"log_detail": "日志详情", "log_detail": "日志详情",

View File

@@ -19,7 +19,7 @@
"edit_channel": "渠道配置", "edit_channel": "渠道配置",
"enable_channel": "啟用", "enable_channel": "啟用",
"forbid_channel": "禁用", "forbid_channel": "禁用",
"input maxToken_tip": "模型 max_tokens 參數,如果留空,則代表模型不支持該參數。", "maxToken_tip": "模型 max_tokens 參數,如果留空,則代表模型不支持該參數。",
"key_type": "API key 格式:", "key_type": "API key 格式:",
"log": "調用日誌", "log": "調用日誌",
"log_detail": "日誌詳情", "log_detail": "日誌詳情",

View File

@@ -351,7 +351,7 @@ export const ModelEditModal = ({
<Td> <Td>
<HStack spacing={1}> <HStack spacing={1}>
<Box>{t('common:core.chat.response.module maxToken')}</Box> <Box>{t('common:core.chat.response.module maxToken')}</Box>
<QuestionTip label={t('account_model:input maxToken_tip')} /> <QuestionTip label={t('account_model:maxToken_tip')} />
</HStack> </HStack>
</Td> </Td>
<Td textAlign={'right'}> <Td textAlign={'right'}>