From 703dcb2a46d5ea1cbc770a2d7d357b81cdadb20c Mon Sep 17 00:00:00 2001 From: natansil Date: Tue, 21 Jul 2026 15:32:24 +0300 Subject: [PATCH] Update retired Anthropic model IDs --- .github/workflows/claude-code-review.yml | 2 +- .github/workflows/claude-docs-drafter.yml | 2 +- .github/workflows/claude.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index ed5bcb4b..532cdebd 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -39,7 +39,7 @@ jobs: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} # Optional: Specify model (defaults to Claude Sonnet 4, uncomment for Claude Opus 4) - model: "claude-opus-4-20250514" + model: "claude-opus-4-8" # Direct prompt for automated review (no @claude mention needed) direct_prompt: | diff --git a/.github/workflows/claude-docs-drafter.yml b/.github/workflows/claude-docs-drafter.yml index 419fb527..8ac1dd62 100644 --- a/.github/workflows/claude-docs-drafter.yml +++ b/.github/workflows/claude-docs-drafter.yml @@ -37,7 +37,7 @@ jobs: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} use_sticky_comment: true claude_args: | - --model claude-sonnet-4-20250514 + --model claude-sonnet-4-6 --json-schema '{"type":"object","properties":{"needs_docs":{"type":"boolean","description":"true if the PR has public APIs that need new or improved JSDoc"}},"required":["needs_docs"]}' prompt: | diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index cc57bab2..e595b4c5 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -41,7 +41,7 @@ jobs: actions: read # Optional: Specify model (defaults to Claude Sonnet 4, uncomment for Claude Opus 4) - model: "claude-opus-4-20250514" + model: "claude-opus-4-8" # Optional: Customize the trigger phrase (default: @claude) # trigger_phrase: "/claude"