Skip to content

Commit 68e024a

Browse files
kvzclaude
andauthored
Add Claude Opus 4.7 as ai-chat capability and Claude workflow model (#392)
Adds claude-opus-4-7 to MODEL_CAPABILITIES and switches AI_CHAT_DEFAULT_MODEL to it. Bumps the Claude Code GitHub Action workflow --model from 4.5 to 4.7. Keeps 4.6 supported. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 325ffaa commit 68e024a

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/claude.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,4 @@ jobs:
7979
with:
8080
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
8181
claude_args: |
82-
--model claude-opus-4-5-20251101
82+
--model claude-opus-4-7

packages/node/src/alphalib/types/robots/ai-chat.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ export const MODEL_CAPABILITIES: Record<string, { pdf: boolean; image: boolean }
161161
'anthropic/claude-sonnet-4-5': { pdf: true, image: true },
162162
'anthropic/claude-opus-4-5': { pdf: true, image: true },
163163
'anthropic/claude-opus-4-6': { pdf: true, image: true },
164+
'anthropic/claude-opus-4-7': { pdf: true, image: true },
164165
'openai/gpt-4.1-2025-04-14': { pdf: false, image: true },
165166
'openai/chatgpt-4o-latest': { pdf: false, image: true },
166167
'openai/o3-2025-04-16': { pdf: false, image: true },
@@ -177,10 +178,10 @@ export const MODEL_CAPABILITIES: Record<string, { pdf: boolean; image: boolean }
177178
}
178179

179180
// Default model for /ai/chat when `model: "auto"` (or unset).
180-
// 2026-02-10: default is Opus 4.6 (intentional; aligns with our current recommended Anthropic
181+
// 2026-04-16: default is Opus 4.7 (intentional; aligns with our current recommended Anthropic
181182
// flagship model and the system tests in this repo). Keep this aligned with MODEL_CAPABILITIES.
182183
export const AI_CHAT_DEFAULT_MODEL =
183-
'anthropic/claude-opus-4-6' satisfies keyof typeof MODEL_CAPABILITIES
184+
'anthropic/claude-opus-4-7' satisfies keyof typeof MODEL_CAPABILITIES
184185

185186
const supportedModelsList = Object.keys(MODEL_CAPABILITIES)
186187

0 commit comments

Comments
 (0)