feat(web): drop "none" from the offered thinking levels (#34)
Co-authored-by: Alice <alice@prismshadow.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
9 files changed
+141
-26
No files matched your search
@@ -197,7 +197,6 @@ export const en: Strings = {
|
||||
thinkingLevel: "model.thinking_level",
|
||||
thinkingLevelOptions: [
|
||||
["", "Send no override — keep whatever is currently configured."],
|
||||
["none", "Disables extended reasoning; the fastest responses."],
|
||||
["low", "Enables a lower tier of extended reasoning."],
|
||||
[
|
||||
"medium",
|
||||
@@ -209,6 +208,8 @@ export const en: Strings = {
|
||||
"Enables the highest tier of extended reasoning; identical to high on some models.",
|
||||
],
|
||||
] as ReadonlyArray<readonly [string, string]>,
|
||||
thinkingLevelNoneKept:
|
||||
"Stored legacy tier: new selections no longer offer the off tier (many models cannot disable thinking).",
|
||||
timeoutMs: "model.timeoutMs",
|
||||
timeoutMsHint: "Per-request timeout, ms",
|
||||
compaction: "Context compaction",
|
||||
|
||||
@@ -188,14 +188,16 @@ export const zh = {
|
||||
maxTurns: "max_turns(单 Task 最大轮次,-1 不限制)",
|
||||
maxTokens: "model.max_tokens",
|
||||
thinkingLevel: "model.thinking_level",
|
||||
/** Selectable tiers exclude `none` (many models cannot disable thinking); a stored `none` still displays — see `thinkingLevelNoneKept`. */
|
||||
thinkingLevelOptions: [
|
||||
["", "不提交覆盖值,沿用当前生效的配置。"],
|
||||
["none", "关闭扩展推理,响应最快。"],
|
||||
["low", "开启较低强度的扩展推理。"],
|
||||
["medium", "开启中等强度的扩展推理(新建 Agent 的缺省档位)。"],
|
||||
["high", "开启较高强度的扩展推理,响应更慢。"],
|
||||
["xhigh", "开启最高强度的扩展推理,部分模型上效果与 high 相同。"],
|
||||
] as ReadonlyArray<readonly [string, string]>,
|
||||
/** Row description shown only while the stored config is `none`: displayed as-is, never rewritten, and no longer offered as a choice. */
|
||||
thinkingLevelNoneKept: "已存的历史档位:新选择不再提供关闭档(多数模型不支持关闭思考)。",
|
||||
timeoutMs: "model.timeoutMs",
|
||||
timeoutMsHint: "单次 Request 超时,毫秒",
|
||||
compaction: "上下文压缩(compaction)",
|
||||
@@ -463,7 +465,7 @@ export const zh = {
|
||||
chooseAgent: "选择 Agent",
|
||||
chooseModel: "选择模型",
|
||||
thinkingLevel: "思考等级",
|
||||
/** 会话前拾取器的档位短名(评审要求:只写短名、不带说明、无“缺省”项)。 */
|
||||
/** Short tier names for the pre-conversation picker (per review: short names only, no descriptions, no "default" row). `none` exists purely to display a stored legacy value — it is never offered as a choice (many models cannot disable thinking). */
|
||||
thinkingLevelNames: {
|
||||
none: "无",
|
||||
low: "低",
|
||||
|
||||
Reference in new issue
Block a user