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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user