Bug Fixed: Chinese i18n css error (#2470)

* bug fixed: chinese i18n css error

* Update webview-ui/src/components/settings/ApiOptions.tsx

---------

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
This commit is contained in:
Zhang Tony 2025-04-10 23:12:49 +08:00 committed by GitHub
parent 5352beb95c
commit 255a158e75
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -850,7 +850,7 @@ const ApiOptions = ({
</div>
<div className="flex flex-col gap-3">
<div className="text-sm text-vscode-descriptionForeground">
<div className="text-sm text-vscode-descriptionForeground whitespace-pre-line">
{t("settings:providers.customModel.capabilities")}
</div>

View file

@ -180,7 +180,7 @@
}
},
"customModel": {
"capabilities": "自定义模型配置注意事项:<br>• 确保兼容OpenAI接口规范<br>• 错误配置可能导致功能异常<br>• 价格参数影响费用统计",
"capabilities": "自定义模型配置注意事项:\n• 确保兼容OpenAI接口规范\n• 错误配置可能导致功能异常\n• 价格参数影响费用统计",
"maxTokens": {
"label": "最大输出Token数",
"description": "模型在响应中可以生成的最大Token数。指定 -1 允许服务器设置最大Token数。"