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

This commit is contained in:
KimiSwitch Dev committed 2026-10-02 13:00:35 +08:00
1 parent 50f59cac79
commit 26cb88ad0e
17 files changed
+453 -53

No files matched your search

+5 -4
View File
@@ -111,11 +111,12 @@ export interface DiscoveredModel {
export interface ThinkingConfig {
enabled?: boolean;
/**
* Effort tier. `max` is read-compatible only — upstream removed the tier
* (old configs auto-migrate to `high`); the UI normalizes it and the
* serialization path never writes it.
* Effort tier, forwarded verbatim to OpenAI-compatible upstreams as
* `reasoning_effort`. Upstream accepts a free-form string; the UI offers
* low/medium/high/max/xhigh and derives per-model support from
* `[models."<alias>"] support_efforts`.
*/
effort?: "low" | "medium" | "high" | "max";
effort?: string;
/**
* Keep thinking content. The legacy off values (`false`, `0`, "no", "none",
* `null`) are read-compatible — old configs may carry them; the UI