From: Daan De Meyer Date: Thu, 16 Apr 2026 17:04:43 +0000 (+0200) Subject: ci: Switch PR review workflow to Opus 4.7 via Mantle endpoint X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=011233858520fe607eeff29cfc92d40cf71a6002;p=thirdparty%2Fsystemd.git 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). --- diff --git a/.github/workflows/claude-review.yml b/.github/workflows/claude-review.yml index 3829313cf97..aacada555e8 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 \