Skip to content

Commit 23e6788

Browse files
committed
fix(dashboard): add reasoning config metadata translations
1 parent d500f1b commit 23e6788

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

dashboard/src/i18n/locales/en-US/features/config-metadata.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,6 +1196,10 @@
11961196
"description": "Disable thinking mode",
11971197
"hint": "Close Ollama thinking mode."
11981198
},
1199+
"force_tool_call_reasoning_content": {
1200+
"description": "Force reasoning content in tool-call history",
1201+
"hint": "Some OpenAI-compatible model services require assistant tool-call history to include reasoning_content when thinking mode is enabled."
1202+
},
11991203
"custom_extra_body": {
12001204
"description": "Custom request body parameters",
12011205
"hint": "Add extra parameters to requests, such as temperature, top_p, max_tokens, etc.",

dashboard/src/i18n/locales/ru-RU/features/config-metadata.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,6 +1193,10 @@
11931193
"description": "Заголовки запроса",
11941194
"hint": "Пары ключ/значение будут добавлены в заголовки запроса (default_headers). Значения должны быть строками."
11951195
},
1196+
"force_tool_call_reasoning_content": {
1197+
"description": "Принудительно сохранять reasoning_content в истории вызовов инструментов",
1198+
"hint": "Некоторые OpenAI-совместимые сервисы моделей требуют, чтобы история assistant с вызовами инструментов содержала reasoning_content при включённом режиме размышления."
1199+
},
11961200
"custom_extra_body": {
11971201
"description": "Параметры тела запроса",
11981202
"hint": "Добавление дополнительных параметров в запрос (temperature, top_p и др.).",

dashboard/src/i18n/locales/zh-CN/features/config-metadata.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,6 +1198,10 @@
11981198
"description": "关闭思考模式",
11991199
"hint": "关闭 Ollama 思考模式。"
12001200
},
1201+
"force_tool_call_reasoning_content": {
1202+
"description": "工具调用历史强制保留思考内容",
1203+
"hint": "部分兼容 OpenAI 的模型服务在启用思考模式后,要求 assistant 工具调用历史包含 reasoning_content。"
1204+
},
12011205
"custom_extra_body": {
12021206
"description": "自定义请求体参数",
12031207
"hint": "用于在请求时添加额外的参数,如 temperature, top_p, max_tokens, reasoning_effort 等。",

0 commit comments

Comments
 (0)