fix(#1847): resolve standard tier to claude sonnet 5
Point the sonnet/standard tier at Claude Sonnet 5 (`claude-sonnet-5`, GA 2026-06-30) across the Anthropic-backed runtimes and provider presets, replacing the superseded `claude-sonnet-4-6`. Mirrors the change into the CONFIGURATION.md and settings-advanced.md runtime-defaults tables (the #3229 catalog↔docs parity gate) plus the pt-BR/zh-CN translations, and updates the tests that pin the old ID. Regenerates the workflow size baseline for the (smaller) settings-advanced.md. Scope is Sonnet only — opus/haiku IDs are untouched. Prepared as a 1.6.1 hotfix off the v1.6.0 tag. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1355,13 +1355,13 @@ When `runtime` is set, profile tiers (`opus`/`sonnet`/`haiku`) resolve to runtim
|
|||||||
|
|
||||||
| Runtime | `opus` | `sonnet` | `haiku` | reasoning_effort |
|
| Runtime | `opus` | `sonnet` | `haiku` | reasoning_effort |
|
||||||
|---------|--------|----------|---------|------------------|
|
|---------|--------|----------|---------|------------------|
|
||||||
| `claude` | `claude-opus-4-8` | `claude-sonnet-4-6` | `claude-haiku-4-5` | (not used) |
|
| `claude` | `claude-opus-4-8` | `claude-sonnet-5` | `claude-haiku-4-5` | (not used) |
|
||||||
| `codex` | `gpt-5.5` | `gpt-5.4` | `gpt-5.4-mini` | `xhigh` / `medium` / `medium` |
|
| `codex` | `gpt-5.5` | `gpt-5.4` | `gpt-5.4-mini` | `xhigh` / `medium` / `medium` |
|
||||||
| `gemini` | `gemini-3.1-pro-preview` | `gemini-3-flash` | `gemini-2.5-flash-lite` | (not used) |
|
| `gemini` | `gemini-3.1-pro-preview` | `gemini-3-flash` | `gemini-2.5-flash-lite` | (not used) |
|
||||||
| `qwen` | `qwen3-max-2026-01-23` | `qwen3-coder-plus` | `qwen3-coder-next` | (not used) |
|
| `qwen` | `qwen3-max-2026-01-23` | `qwen3-coder-plus` | `qwen3-coder-next` | (not used) |
|
||||||
| `opencode` | `anthropic/claude-opus-4-8` | `anthropic/claude-sonnet-4-6` | `anthropic/claude-haiku-4-5` | (not used) |
|
| `opencode` | `anthropic/claude-opus-4-8` | `anthropic/claude-sonnet-5` | `anthropic/claude-haiku-4-5` | (not used) |
|
||||||
| `copilot` | `claude-opus-4-8` | `claude-sonnet-4-6` | `claude-haiku-4-5` | (not used) |
|
| `copilot` | `claude-opus-4-8` | `claude-sonnet-5` | `claude-haiku-4-5` | (not used) |
|
||||||
| `hermes` | `anthropic/claude-opus-4-8` | `anthropic/claude-sonnet-4-6` | `anthropic/claude-haiku-4-5` | (not used) |
|
| `hermes` | `anthropic/claude-opus-4-8` | `anthropic/claude-sonnet-5` | `anthropic/claude-haiku-4-5` | (not used) |
|
||||||
| Group B (`kilo`, `cline`, `cursor`, `windsurf` (alias: `devin-desktop`), `augment`, `trae`, `codebuddy`, `antigravity`) | (no built-in default — your runtime handles model selection) | | | |
|
| Group B (`kilo`, `cline`, `cursor`, `windsurf` (alias: `devin-desktop`), `augment`, `trae`, `codebuddy`, `antigravity`) | (no built-in default — your runtime handles model selection) | | | |
|
||||||
|
|
||||||
> **How these model IDs are sourced.** The catalog (`bin/shared/model-catalog.json`) pins each runtime's tier defaults to that provider's current frontier IDs, and may intentionally carry forward-dated IDs ahead of a provider's public docs. To verify an ID is live before changing it, check the provider's own source/API — e.g. Gemini: gemini-cli `packages/core/src/config/models.ts` or `gemini --model <id> --prompt ping`; Codex: `codex debug models` or the OpenAI Codex models page; Qwen: Alibaba Model Studio model list. Only change an ID that the provider actually rejects — absence from documentation alone is not proof of invalidity.
|
> **How these model IDs are sourced.** The catalog (`bin/shared/model-catalog.json`) pins each runtime's tier defaults to that provider's current frontier IDs, and may intentionally carry forward-dated IDs ahead of a provider's public docs. To verify an ID is live before changing it, check the provider's own source/API — e.g. Gemini: gemini-cli `packages/core/src/config/models.ts` or `gemini --model <id> --prompt ping`; Codex: `codex debug models` or the OpenAI Codex models page; Qwen: Alibaba Model Studio model list. Only change an ID that the provider actually rejects — absence from documentation alone is not proof of invalidity.
|
||||||
|
|||||||
@@ -1139,13 +1139,13 @@ A saída JSON de `resolve-model` inclui `reasoning_effort` quando o nível de ru
|
|||||||
|
|
||||||
| Runtime | `opus` | `sonnet` | `haiku` | reasoning_effort |
|
| Runtime | `opus` | `sonnet` | `haiku` | reasoning_effort |
|
||||||
|---------|--------|----------|---------|------------------|
|
|---------|--------|----------|---------|------------------|
|
||||||
| `claude` | `claude-opus-4-8` | `claude-sonnet-4-6` | `claude-haiku-4-5` | (não usado) |
|
| `claude` | `claude-opus-4-8` | `claude-sonnet-5` | `claude-haiku-4-5` | (não usado) |
|
||||||
| `codex` | `gpt-5.5` | `gpt-5.3-codex` | `gpt-5.4-mini` | `xhigh` / `medium` / `medium` |
|
| `codex` | `gpt-5.5` | `gpt-5.3-codex` | `gpt-5.4-mini` | `xhigh` / `medium` / `medium` |
|
||||||
| `gemini` | `gemini-3-pro` | `gemini-3-flash` | `gemini-2.5-flash-lite` | (não usado) |
|
| `gemini` | `gemini-3-pro` | `gemini-3-flash` | `gemini-2.5-flash-lite` | (não usado) |
|
||||||
| `qwen` | `qwen3-max-2026-01-23` | `qwen3-coder-plus` | `qwen3-coder-next` | (não usado) |
|
| `qwen` | `qwen3-max-2026-01-23` | `qwen3-coder-plus` | `qwen3-coder-next` | (não usado) |
|
||||||
| `opencode` | `anthropic/claude-opus-4-8` | `anthropic/claude-sonnet-4-6` | `anthropic/claude-haiku-4-5` | (não usado) |
|
| `opencode` | `anthropic/claude-opus-4-8` | `anthropic/claude-sonnet-5` | `anthropic/claude-haiku-4-5` | (não usado) |
|
||||||
| `copilot` | `claude-opus-4-8` | `claude-sonnet-4-6` | `claude-haiku-4-5` | (não usado) |
|
| `copilot` | `claude-opus-4-8` | `claude-sonnet-5` | `claude-haiku-4-5` | (não usado) |
|
||||||
| `hermes` | `anthropic/claude-opus-4-8` | `anthropic/claude-sonnet-4-6` | `anthropic/claude-haiku-4-5` | (não usado) |
|
| `hermes` | `anthropic/claude-opus-4-8` | `anthropic/claude-sonnet-5` | `anthropic/claude-haiku-4-5` | (não usado) |
|
||||||
| Grupo B (`kilo`, `cline`, `cursor`, `windsurf`, `augment`, `trae`, `codebuddy`, `antigravity`) | (sem padrão integrado — seu runtime trata da seleção de modelo) | | | |
|
| Grupo B (`kilo`, `cline`, `cursor`, `windsurf`, `augment`, `trae`, `codebuddy`, `antigravity`) | (sem padrão integrado — seu runtime trata da seleção de modelo) | | | |
|
||||||
|
|
||||||
**Exemplo Codex** — uma configuração, modelos em nível, sem bloco grande de `model_overrides`:
|
**Exemplo Codex** — uma configuração, modelos em nível, sem bloco grande de `model_overrides`:
|
||||||
|
|||||||
@@ -1108,13 +1108,13 @@ minimal < low < medium < high < xhigh < max
|
|||||||
|
|
||||||
| 运行时 | `opus` | `sonnet` | `haiku` | reasoning_effort |
|
| 运行时 | `opus` | `sonnet` | `haiku` | reasoning_effort |
|
||||||
|---------|--------|----------|---------|------------------|
|
|---------|--------|----------|---------|------------------|
|
||||||
| `claude` | `claude-opus-4-8` | `claude-sonnet-4-6` | `claude-haiku-4-5` | (不使用) |
|
| `claude` | `claude-opus-4-8` | `claude-sonnet-5` | `claude-haiku-4-5` | (不使用) |
|
||||||
| `codex` | `gpt-5.5` | `gpt-5.3-codex` | `gpt-5.4-mini` | `xhigh` / `medium` / `medium` |
|
| `codex` | `gpt-5.5` | `gpt-5.3-codex` | `gpt-5.4-mini` | `xhigh` / `medium` / `medium` |
|
||||||
| `gemini` | `gemini-3-pro` | `gemini-3-flash` | `gemini-2.5-flash-lite` | (不使用) |
|
| `gemini` | `gemini-3-pro` | `gemini-3-flash` | `gemini-2.5-flash-lite` | (不使用) |
|
||||||
| `qwen` | `qwen3-max-2026-01-23` | `qwen3-coder-plus` | `qwen3-coder-next` | (不使用) |
|
| `qwen` | `qwen3-max-2026-01-23` | `qwen3-coder-plus` | `qwen3-coder-next` | (不使用) |
|
||||||
| `opencode` | `anthropic/claude-opus-4-8` | `anthropic/claude-sonnet-4-6` | `anthropic/claude-haiku-4-5` | (不使用) |
|
| `opencode` | `anthropic/claude-opus-4-8` | `anthropic/claude-sonnet-5` | `anthropic/claude-haiku-4-5` | (不使用) |
|
||||||
| `copilot` | `claude-opus-4-8` | `claude-sonnet-4-6` | `claude-haiku-4-5` | (不使用) |
|
| `copilot` | `claude-opus-4-8` | `claude-sonnet-5` | `claude-haiku-4-5` | (不使用) |
|
||||||
| `hermes` | `anthropic/claude-opus-4-8` | `anthropic/claude-sonnet-4-6` | `anthropic/claude-haiku-4-5` | (不使用) |
|
| `hermes` | `anthropic/claude-opus-4-8` | `anthropic/claude-sonnet-5` | `anthropic/claude-haiku-4-5` | (不使用) |
|
||||||
| B 组(`kilo`、`cline`、`cursor`、`windsurf`、`augment`、`trae`、`codebuddy`、`antigravity`) | (无内置默认——您的运行时处理模型选择) | | | |
|
| B 组(`kilo`、`cline`、`cursor`、`windsurf`、`augment`、`trae`、`codebuddy`、`antigravity`) | (无内置默认——您的运行时处理模型选择) | | | |
|
||||||
|
|
||||||
**Codex 示例** — 单个配置,分层模型,无大型 `model_overrides` 块:
|
**Codex 示例** — 单个配置,分层模型,无大型 `model_overrides` 块:
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
"runtimeTierDefaults": {
|
"runtimeTierDefaults": {
|
||||||
"claude": {
|
"claude": {
|
||||||
"opus": { "model": "claude-opus-4-8" },
|
"opus": { "model": "claude-opus-4-8" },
|
||||||
"sonnet": { "model": "claude-sonnet-4-6" },
|
"sonnet": { "model": "claude-sonnet-5" },
|
||||||
"haiku": { "model": "claude-haiku-4-5" }
|
"haiku": { "model": "claude-haiku-4-5" }
|
||||||
},
|
},
|
||||||
"codex": {
|
"codex": {
|
||||||
@@ -29,17 +29,17 @@
|
|||||||
},
|
},
|
||||||
"opencode": {
|
"opencode": {
|
||||||
"opus": { "model": "anthropic/claude-opus-4-8" },
|
"opus": { "model": "anthropic/claude-opus-4-8" },
|
||||||
"sonnet": { "model": "anthropic/claude-sonnet-4-6" },
|
"sonnet": { "model": "anthropic/claude-sonnet-5" },
|
||||||
"haiku": { "model": "anthropic/claude-haiku-4-5" }
|
"haiku": { "model": "anthropic/claude-haiku-4-5" }
|
||||||
},
|
},
|
||||||
"copilot": {
|
"copilot": {
|
||||||
"opus": { "model": "claude-opus-4-8" },
|
"opus": { "model": "claude-opus-4-8" },
|
||||||
"sonnet": { "model": "claude-sonnet-4-6" },
|
"sonnet": { "model": "claude-sonnet-5" },
|
||||||
"haiku": { "model": "claude-haiku-4-5" }
|
"haiku": { "model": "claude-haiku-4-5" }
|
||||||
},
|
},
|
||||||
"hermes": {
|
"hermes": {
|
||||||
"opus": { "model": "anthropic/claude-opus-4-8" },
|
"opus": { "model": "anthropic/claude-opus-4-8" },
|
||||||
"sonnet": { "model": "anthropic/claude-sonnet-4-6" },
|
"sonnet": { "model": "anthropic/claude-sonnet-5" },
|
||||||
"haiku": { "model": "anthropic/claude-haiku-4-5" }
|
"haiku": { "model": "anthropic/claude-haiku-4-5" }
|
||||||
},
|
},
|
||||||
"kilo": {
|
"kilo": {
|
||||||
@@ -91,13 +91,13 @@
|
|||||||
"providerPresets": {
|
"providerPresets": {
|
||||||
"anthropic": {
|
"anthropic": {
|
||||||
"opus": { "low": { "model": "claude-opus-4-5" }, "medium": { "model": "claude-opus-4-8" }, "high": { "model": "claude-opus-4-8" } },
|
"opus": { "low": { "model": "claude-opus-4-5" }, "medium": { "model": "claude-opus-4-8" }, "high": { "model": "claude-opus-4-8" } },
|
||||||
"sonnet": { "low": { "model": "claude-haiku-4-5" }, "medium": { "model": "claude-sonnet-4-6" }, "high": { "model": "claude-opus-4-8" } },
|
"sonnet": { "low": { "model": "claude-haiku-4-5" }, "medium": { "model": "claude-sonnet-5" }, "high": { "model": "claude-opus-4-8" } },
|
||||||
"haiku": { "low": { "model": "claude-haiku-4-5" }, "medium": { "model": "claude-haiku-4-5" }, "high": { "model": "claude-sonnet-4-6" } }
|
"haiku": { "low": { "model": "claude-haiku-4-5" }, "medium": { "model": "claude-haiku-4-5" }, "high": { "model": "claude-sonnet-5" } }
|
||||||
},
|
},
|
||||||
"anthropic-fable": {
|
"anthropic-fable": {
|
||||||
"opus": { "low": { "model": "claude-opus-4-5" }, "medium": { "model": "claude-opus-4-8" }, "high": { "model": "claude-fable-5" } },
|
"opus": { "low": { "model": "claude-opus-4-5" }, "medium": { "model": "claude-opus-4-8" }, "high": { "model": "claude-fable-5" } },
|
||||||
"sonnet": { "low": { "model": "claude-haiku-4-5" }, "medium": { "model": "claude-sonnet-4-6" }, "high": { "model": "claude-fable-5" } },
|
"sonnet": { "low": { "model": "claude-haiku-4-5" }, "medium": { "model": "claude-sonnet-5" }, "high": { "model": "claude-fable-5" } },
|
||||||
"haiku": { "low": { "model": "claude-haiku-4-5" }, "medium": { "model": "claude-haiku-4-5" }, "high": { "model": "claude-sonnet-4-6" } }
|
"haiku": { "low": { "model": "claude-haiku-4-5" }, "medium": { "model": "claude-haiku-4-5" }, "high": { "model": "claude-sonnet-5" } }
|
||||||
},
|
},
|
||||||
"openai": {
|
"openai": {
|
||||||
"opus": { "low": { "model": "gpt-5.4", "reasoning_effort": "medium" }, "medium": { "model": "gpt-5.5", "reasoning_effort": "high" }, "high": { "model": "gpt-5.5", "reasoning_effort": "xhigh" } },
|
"opus": { "low": { "model": "gpt-5.4", "reasoning_effort": "medium" }, "medium": { "model": "gpt-5.5", "reasoning_effort": "high" }, "high": { "model": "gpt-5.5", "reasoning_effort": "xhigh" } },
|
||||||
|
|||||||
@@ -353,13 +353,13 @@ Built-in tier defaults by runtime:
|
|||||||
|
|
||||||
| Runtime | `opus` | `sonnet` | `haiku` |
|
| Runtime | `opus` | `sonnet` | `haiku` |
|
||||||
|------------|-------------------------------|---------------------------------|-------------------------------|
|
|------------|-------------------------------|---------------------------------|-------------------------------|
|
||||||
| `claude` | `claude-opus-4-8` | `claude-sonnet-4-6` | `claude-haiku-4-5` |
|
| `claude` | `claude-opus-4-8` | `claude-sonnet-5` | `claude-haiku-4-5` |
|
||||||
| `codex` | `gpt-5.5` | `gpt-5.4` | `gpt-5.4-mini` |
|
| `codex` | `gpt-5.5` | `gpt-5.4` | `gpt-5.4-mini` |
|
||||||
| `gemini` | `gemini-3.1-pro-preview` | `gemini-3-flash` | `gemini-2.5-flash-lite` |
|
| `gemini` | `gemini-3.1-pro-preview` | `gemini-3-flash` | `gemini-2.5-flash-lite` |
|
||||||
| `qwen` | `qwen3-max-2026-01-23` | `qwen3-coder-plus` | `qwen3-coder-next` |
|
| `qwen` | `qwen3-max-2026-01-23` | `qwen3-coder-plus` | `qwen3-coder-next` |
|
||||||
| `opencode` | `anthropic/claude-opus-4-8` | `anthropic/claude-sonnet-4-6` | `anthropic/claude-haiku-4-5` |
|
| `opencode` | `anthropic/claude-opus-4-8` | `anthropic/claude-sonnet-5` | `anthropic/claude-haiku-4-5` |
|
||||||
| `copilot` | `claude-opus-4-8` | `claude-sonnet-4-6` | `claude-haiku-4-5` |
|
| `copilot` | `claude-opus-4-8` | `claude-sonnet-5` | `claude-haiku-4-5` |
|
||||||
| `hermes` | `anthropic/claude-opus-4-8` | `anthropic/claude-sonnet-4-6` | `anthropic/claude-haiku-4-5` |
|
| `hermes` | `anthropic/claude-opus-4-8` | `anthropic/claude-sonnet-5` | `anthropic/claude-haiku-4-5` |
|
||||||
| Group B (`kilo`, `cline`, `cursor`, `windsurf`, `augment`, `trae`, `codebuddy`, `antigravity`) | (no built-in default — your runtime handles model selection) | | |
|
| Group B (`kilo`, `cline`, `cursor`, `windsurf`, `augment`, `trae`, `codebuddy`, `antigravity`) | (no built-in default — your runtime handles model selection) | | |
|
||||||
|
|
||||||
Display a table to the user showing the effective configuration:
|
Display a table to the user showing the effective configuration:
|
||||||
@@ -623,8 +623,8 @@ AskUserQuestion([
|
|||||||
header: "Provider",
|
header: "Provider",
|
||||||
multiSelect: false,
|
multiSelect: false,
|
||||||
options: [
|
options: [
|
||||||
{ label: "anthropic", description: "claude-opus-4-8 / claude-sonnet-4-6 / claude-haiku-4-5 (Anthropic / Claude)" },
|
{ label: "anthropic", description: "claude-opus-4-8 / claude-sonnet-5 / claude-haiku-4-5 (Anthropic / Claude)" },
|
||||||
{ label: "anthropic-fable", description: "claude-fable-5 / claude-sonnet-4-6 / claude-haiku-4-5 (Anthropic / Claude Fable opt-in)" },
|
{ label: "anthropic-fable", description: "claude-fable-5 / claude-sonnet-5 / claude-haiku-4-5 (Anthropic / Claude Fable opt-in)" },
|
||||||
{ label: "openai", description: "gpt-5.5 / gpt-5.4 / gpt-5.4-mini (OpenAI / Codex)" },
|
{ label: "openai", description: "gpt-5.5 / gpt-5.4 / gpt-5.4-mini (OpenAI / Codex)" },
|
||||||
{ label: "Other known provider", description: "Type google or qwen; both still use the canonical tier mapping." }
|
{ label: "Other known provider", description: "Type google or qwen; both still use the canonical tier mapping." }
|
||||||
]
|
]
|
||||||
@@ -654,11 +654,11 @@ Canonical tier mappings by provider and budget:
|
|||||||
|
|
||||||
| Provider | Budget | high | medium | low |
|
| Provider | Budget | high | medium | low |
|
||||||
|-----------|--------|----------------------------|----------------------------|----------------------------|
|
|-----------|--------|----------------------------|----------------------------|----------------------------|
|
||||||
| anthropic | high | claude-opus-4-8 | claude-opus-4-8 | claude-sonnet-4-6 |
|
| anthropic | high | claude-opus-4-8 | claude-opus-4-8 | claude-sonnet-5 |
|
||||||
| anthropic | medium | claude-opus-4-8 | claude-sonnet-4-6 | claude-haiku-4-5 |
|
| anthropic | medium | claude-opus-4-8 | claude-sonnet-5 | claude-haiku-4-5 |
|
||||||
| anthropic | low | claude-haiku-4-5 | claude-haiku-4-5 | claude-haiku-4-5 |
|
| anthropic | low | claude-haiku-4-5 | claude-haiku-4-5 | claude-haiku-4-5 |
|
||||||
| anthropic-fable | high | claude-fable-5 | claude-fable-5 | claude-sonnet-4-6 |
|
| anthropic-fable | high | claude-fable-5 | claude-fable-5 | claude-sonnet-5 |
|
||||||
| anthropic-fable | medium | claude-opus-4-8 | claude-sonnet-4-6 | claude-haiku-4-5 |
|
| anthropic-fable | medium | claude-opus-4-8 | claude-sonnet-5 | claude-haiku-4-5 |
|
||||||
| anthropic-fable | low | claude-haiku-4-5 | claude-haiku-4-5 | claude-haiku-4-5 |
|
| anthropic-fable | low | claude-haiku-4-5 | claude-haiku-4-5 | claude-haiku-4-5 |
|
||||||
| openai | high | gpt-5.5 | gpt-5.5 | gpt-5.5 |
|
| openai | high | gpt-5.5 | gpt-5.5 | gpt-5.5 |
|
||||||
| openai | medium | gpt-5.5 | gpt-5.4 | gpt-5.4-mini |
|
| openai | medium | gpt-5.5 | gpt-5.4 | gpt-5.4-mini |
|
||||||
|
|||||||
@@ -142,8 +142,8 @@ describe('#49 resolveModelPolicy Sub-path B: provider presets', () => {
|
|||||||
test('known provider "anthropic-fable" + tier "haiku" + budget "high" keeps low tier on Sonnet', () => {
|
test('known provider "anthropic-fable" + tier "haiku" + budget "high" keeps low tier on Sonnet', () => {
|
||||||
const policy = { provider: 'anthropic-fable', budget: 'high' };
|
const policy = { provider: 'anthropic-fable', budget: 'high' };
|
||||||
const result = resolveModelPolicy(policy, 'haiku');
|
const result = resolveModelPolicy(policy, 'haiku');
|
||||||
assert.strictEqual(result, 'claude-sonnet-4-6',
|
assert.strictEqual(result, 'claude-sonnet-5',
|
||||||
`expected anthropic-fable haiku/high to resolve to claude-sonnet-4-6, got: ${result}`);
|
`expected anthropic-fable haiku/high to resolve to claude-sonnet-5, got: ${result}`);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('known provider "openai" + tier "sonnet" + budget "low" returns model with reasoning_effort from preset', () => {
|
test('known provider "openai" + tier "sonnet" + budget "low" returns model with reasoning_effort from preset', () => {
|
||||||
|
|||||||
@@ -705,9 +705,9 @@ describe('issue #2612: runtime "opencode" — OpenCode tier resolution', () => {
|
|||||||
assert.strictEqual(resolveModelInternal(tmpDir, 'gsd-planner'), 'anthropic/claude-opus-4-8');
|
assert.strictEqual(resolveModelInternal(tmpDir, 'gsd-planner'), 'anthropic/claude-opus-4-8');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('sonnet tier -> anthropic/claude-sonnet-4-6', () => {
|
test('sonnet tier -> anthropic/claude-sonnet-5', () => {
|
||||||
writeConfig(tmpDir, { runtime: 'opencode', model_profile: 'balanced' });
|
writeConfig(tmpDir, { runtime: 'opencode', model_profile: 'balanced' });
|
||||||
assert.strictEqual(resolveModelInternal(tmpDir, 'gsd-roadmapper'), 'anthropic/claude-sonnet-4-6');
|
assert.strictEqual(resolveModelInternal(tmpDir, 'gsd-roadmapper'), 'anthropic/claude-sonnet-5');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('haiku tier -> anthropic/claude-haiku-4-5', () => {
|
test('haiku tier -> anthropic/claude-haiku-4-5', () => {
|
||||||
@@ -733,9 +733,9 @@ describe('issue #2612: runtime "copilot" — Copilot tier resolution', () => {
|
|||||||
assert.strictEqual(resolveModelInternal(tmpDir, 'gsd-planner'), 'claude-opus-4-8');
|
assert.strictEqual(resolveModelInternal(tmpDir, 'gsd-planner'), 'claude-opus-4-8');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('sonnet tier -> claude-sonnet-4-6', () => {
|
test('sonnet tier -> claude-sonnet-5', () => {
|
||||||
writeConfig(tmpDir, { runtime: 'copilot', model_profile: 'balanced' });
|
writeConfig(tmpDir, { runtime: 'copilot', model_profile: 'balanced' });
|
||||||
assert.strictEqual(resolveModelInternal(tmpDir, 'gsd-roadmapper'), 'claude-sonnet-4-6');
|
assert.strictEqual(resolveModelInternal(tmpDir, 'gsd-roadmapper'), 'claude-sonnet-5');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('haiku tier -> claude-haiku-4-5', () => {
|
test('haiku tier -> claude-haiku-4-5', () => {
|
||||||
@@ -862,6 +862,6 @@ describe('issue #2612: partial override merge for new Group A runtimes', () => {
|
|||||||
// gsd-codebase-mapper budget -> haiku -> overridden
|
// gsd-codebase-mapper budget -> haiku -> overridden
|
||||||
assert.strictEqual(resolveModelInternal(tmpDir, 'gsd-codebase-mapper'), 'claude-haiku-4-6');
|
assert.strictEqual(resolveModelInternal(tmpDir, 'gsd-codebase-mapper'), 'claude-haiku-4-6');
|
||||||
// gsd-planner budget -> sonnet -> built-in default
|
// gsd-planner budget -> sonnet -> built-in default
|
||||||
assert.strictEqual(resolveModelInternal(tmpDir, 'gsd-planner'), 'claude-sonnet-4-6');
|
assert.strictEqual(resolveModelInternal(tmpDir, 'gsd-planner'), 'claude-sonnet-5');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -17,8 +17,8 @@ describe('MODEL_ALIAS_MAP (#1690 regression)', () => {
|
|||||||
assert.equal(MODEL_ALIAS_MAP.opus, 'claude-opus-4-8');
|
assert.equal(MODEL_ALIAS_MAP.opus, 'claude-opus-4-8');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('sonnet maps to claude-sonnet-4-6', () => {
|
test('sonnet maps to claude-sonnet-5', () => {
|
||||||
assert.equal(MODEL_ALIAS_MAP.sonnet, 'claude-sonnet-4-6');
|
assert.equal(MODEL_ALIAS_MAP.sonnet, 'claude-sonnet-5');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('haiku maps to claude-haiku-4-5', () => {
|
test('haiku maps to claude-haiku-4-5', () => {
|
||||||
|
|||||||
@@ -67,7 +67,7 @@
|
|||||||
"scan.md": 7688,
|
"scan.md": 7688,
|
||||||
"secure-phase.md": 13476,
|
"secure-phase.md": 13476,
|
||||||
"session-report.md": 4044,
|
"session-report.md": 4044,
|
||||||
"settings-advanced.md": 39666,
|
"settings-advanced.md": 39646,
|
||||||
"settings-integrations.md": 15848,
|
"settings-integrations.md": 15848,
|
||||||
"settings.md": 33413,
|
"settings.md": 33413,
|
||||||
"ship.md": 24647,
|
"ship.md": 24647,
|
||||||
|
|||||||
Reference in New Issue
Block a user