fix: update MODEL_ALIAS_MAP to current Claude model IDs (#1691)

Fixes #1690

- opus: claude-opus-4-0 → claude-opus-4-6
- sonnet: claude-sonnet-4-5 → claude-sonnet-4-6
- haiku: claude-haiku-3-5 → claude-haiku-4-5

Also updates the stale haiku reference in sdk/src/session-runner.ts
and documentation examples in CONFIGURATION.md (en, ja-JP, ko-KR).
This commit is contained in:
Jeremy McSpadden
2026-04-04 14:49:56 -05:00
committed by GitHub
parent f6d2cf2a4a
commit ade67cf9f9
5 changed files with 7 additions and 7 deletions

View File

@@ -29,7 +29,7 @@ function resolveModel(options?: SessionOptions, config?: GSDConfig): string | un
const profileMap: Record<string, string> = {
balanced: 'claude-sonnet-4-6',
quality: 'claude-opus-4-6',
speed: 'claude-haiku-3-5',
speed: 'claude-haiku-4-5',
};
return profileMap[config.model_profile] ?? config.model_profile;
}