fix: v0.8.0 修订 — 思考用户意图优先 · 移除元信息硬门控 · 实施清单入库
- DeepSeek/MiMo/Agnes 移除 supportsThinking 元信息硬门控:思考参数完全遵循用户配置 (事故复盘中 vision-exp 元信息标注不支持思考、实际产生了 8189 token 推理内容, 元信息不可靠;预算耗尽由引擎降级重试兜底,元信息不符仅告警不拦截) - Ollama 保留 /api/show 能力探测门控(服务端硬协议约束:向不支持思考的模型发 think 每次请求 400,属协议正确性而非意图覆盖),探测失败 fail-open - LLM 设置提示文案修订:元信息不符仍按用户配置发送,降级重试自动兜底 - 测试契约反向钉住:vision-exp + 用户开启→照发 enabled+reasoning_effort; 关闭/未配置→显式 disabled;Ollama 探测 false→不发 think / null→fail-open - 补录 docs/v0.8.0-迭代实施清单.md(含逐项验证记录与本次修订记录; 首次提交时该文件因故未入库,本次补齐) - 验证:typecheck 0 错误 / lint 0 问题 / 系统 Node 2146 通过 / thinking 矩阵 101 用例全绿
This commit is contained in:
@@ -202,7 +202,8 @@ registerTranslations('zh-CN', {
|
||||
'llm.maxTokens.minError': '最小值为 256',
|
||||
'llm.maxTokens.exceedCap': '当前模型输出上限为 {{cap}},保存后将按模型上限生效(配置值被钳制)',
|
||||
'llm.maxTokens.capInfo': '当前模型输出上限:{{cap}} tokens',
|
||||
'llm.thinking.unsupported': '当前模型不支持思考模式:请求将自动关闭思考(避免思考耗尽输出预算)',
|
||||
'llm.thinking.unsupported':
|
||||
'当前模型元信息标注不支持思考:仍按你的配置发送思考参数;若思考耗尽输出预算,会自动关闭思考重试一次',
|
||||
'llm.pull.title': '下载 Ollama 模型',
|
||||
'llm.pull.placeholder': '模型名,如 qwen3:8b',
|
||||
'llm.pull.download': '下载',
|
||||
@@ -915,7 +916,7 @@ registerTranslations('en-US', {
|
||||
'This model caps output at {{cap}} — the saved value will be clamped to the model limit',
|
||||
'llm.maxTokens.capInfo': 'Model output cap: {{cap}} tokens',
|
||||
'llm.thinking.unsupported':
|
||||
'This model does not support thinking: requests will disable thinking automatically (to avoid burning the output budget on reasoning)',
|
||||
'Model metadata marks thinking as unsupported — your setting is still sent; if reasoning exhausts the output budget, one degraded retry (thinking off) runs automatically',
|
||||
'llm.pull.title': 'Download Ollama model',
|
||||
'llm.pull.placeholder': 'Model name, e.g. qwen3:8b',
|
||||
'llm.pull.download': 'Download',
|
||||
|
||||
Reference in New Issue
Block a user