From 011233858520fe607eeff29cfc92d40cf71a6002 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Thu, 16 Apr 2026 19:04:43 +0200 Subject: [PATCH] ci: Switch PR review workflow to Opus 4.7 via Mantle endpoint Opus 4.7 is in research preview on Bedrock and the Invoke API rejects the beta headers Claude Code sends ("invalid beta flag"). Enable the Mantle endpoint, which serves Claude via the native Anthropic API shape and accepts those headers, and switch the model ID to the Mantle form (no region prefix or version suffix). --- .github/workflows/claude-review.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/claude-review.yml b/.github/workflows/claude-review.yml index 3829313cf9..aacada555e 100644 --- a/.github/workflows/claude-review.yml +++ b/.github/workflows/claude-review.yml @@ -192,6 +192,7 @@ jobs: env: CLAUDE_CODE_DISABLE_BACKGROUND_TASKS: "1" CLAUDE_CODE_USE_BEDROCK: "1" + CLAUDE_CODE_USE_MANTLE: "1" run: | mkdir -p ~/.claude @@ -369,7 +370,7 @@ jobs: PROMPT claude \ - --model us.anthropic.claude-opus-4-6-v1 \ + --model anthropic.claude-opus-4-7 \ --effort max \ --max-turns 200 \ --setting-sources user \