feat(thinking): 思考等级扩展五档(Max/XHigh)+ 按默认模型 support_efforts 能力感知;删除过时的 max→high 迁移;Segmented 支持逐选项禁用/tooltip — bump to v0.7.23
Release / Version consistency (push) Canceled after 0s
Release / Build (macos-latest) (push) Canceled after 0s
Release / Build (ubuntu-latest) (push) Canceled after 0s
Release / Build (windows-latest) (push) Canceled after 0s
Release / Attach macOS install script (push) Canceled after 0s
Release / Version consistency (push) Canceled after 0s
Release / Build (macos-latest) (push) Canceled after 0s
Release / Build (ubuntu-latest) (push) Canceled after 0s
Release / Build (windows-latest) (push) Canceled after 0s
Release / Attach macOS install script (push) Canceled after 0s
This commit is contained in:
1 parent
50f59cac79
commit
26cb88ad0e
17 files changed
+453
-53
No files matched your search
@@ -0,0 +1,18 @@
|
||||
# KimiSwitch v0.7.23
|
||||
|
||||
## 新功能
|
||||
|
||||
- **思考等级五档 + 能力感知**:全局配置的思考等级由「低 / 中 / 高」三档扩展为「低 / 中 / 高 / Max / XHigh」五档,并按当前默认模型的实际能力自适应——
|
||||
- 模型在 config.toml 声明了 `support_efforts` 时,不支持的档位自动置灰并给出原因提示(如 deepseek-v4.1-flash 仅支持「高」)
|
||||
- models.dev 标记不支持思考(reasoning=false)的模型,整个思考等级区禁用并给出警告
|
||||
- 未声明档位的模型保留全部可选,Max / XHigh 附带「上游可能拒绝此档位」提示
|
||||
- 等级行下方新增说明:实际生效档位取决于当前默认模型
|
||||
|
||||
## 修复
|
||||
|
||||
- **max 档位被误显示为「高」**:此前代码基于过时信息("上游已移除 max 档位")把存储的 `effort = "max"` 读取时强制改为 `high`;实测 kimi-code 2.1.1 中 max 为合法档位(如 kimi-for-coding 默认即为 max),现已原样保留与显示。手写的任意档位值(上游本就是自由字符串)也会作为额外可选项正常显示,不再被丢弃
|
||||
- **子代理设置页**:继承档位显示同步修正,max / xhigh 正常显示,未知值按原样展示
|
||||
|
||||
## 备注
|
||||
|
||||
- 仅前端改动(新增 `thinking-efforts` 能力判定模块 + `Segmented` 控件逐选项禁用/tooltip),无 Rust 变更;新增 14 个单测覆盖三层能力判定规则,全量 117 个测试通过
|
||||
Reference in new issue
Block a user