fix: use findInitialModel in SDK, default to opus-4-5 for anthropic

This commit is contained in:
Mario Zechner 2026-01-25 23:59:11 +01:00
parent 0423c2c2d5
commit 07325c27e8
2 changed files with 16 additions and 27 deletions

View file

@ -11,8 +11,8 @@ import type { ModelRegistry } from "./model-registry.js";
/** Default model IDs for each known provider */
export const defaultModelPerProvider: Record<KnownProvider, string> = {
"amazon-bedrock": "global.anthropic.claude-sonnet-4-5-20250929-v1:0",
anthropic: "claude-sonnet-4-5",
"amazon-bedrock": "us.anthropic.claude-opus-4-20250514-v1:0",
anthropic: "claude-opus-4-5",
openai: "gpt-5.1-codex",
"azure-openai-responses": "gpt-5.2",
"openai-codex": "gpt-5.2-codex",