-
Notifications
You must be signed in to change notification settings - Fork 380
Update Claude Code Review to use claude-sonnet-4-5-20250929 #663
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
WalkthroughThe GitHub Actions workflow for Claude Code Review is updated to pass a specific model flag (--model claude-sonnet-4-5-20250929) via claude_args. Allowed tools remain unchanged. No other files or behavior are modified. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Dev as Developer
participant GH as GitHub Actions
participant CRA as Claude Review Action
participant CLAUDE as Claude API
Dev->>GH: Open/Update PR
GH->>CRA: Run workflow (claude-code-review.yml)
CRA->>CRA: Initialize with claude_args (--model claude-sonnet-4-5-20250929)
CRA->>CLAUDE: Submit review request (model set, allowed-tools unchanged)
CLAUDE-->>CRA: Analysis and review output
CRA-->>GH: Post review comments
GH-->>Dev: Surface review on PR
note over CRA,CLAUDE: Change: explicit model selection during initialization
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🚀 Quick Review App CommandsWelcome! Here are the commands you can use in this PR:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/claude-code-review.yml
(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: test (22.x, 3.3.4)
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md | ||
# or https://docs.claude.com/en/docs/claude-code/sdk#command-line for available options | ||
claude_args: '--allowed-tools "Bash(gh issue view:*),Bash(gh search:*),Bash(gh issue list:*),Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr list:*)"' | ||
claude_args: '--model claude-sonnet-4-5-20250929 --allowed-tools "Bash(gh issue view:*),Bash(gh search:*),Bash(gh issue list:*),Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr list:*)"' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
Verify the model name exists.
The model name claude-sonnet-4-5-20250929
appears to reference a very recent release (September 29, 2025). Please confirm this model identifier is correct and available.
🌐 Web query:
What is the latest Claude Sonnet model version available from Anthropic?
💡 Result:
As of Sept 30, 2025: Anthropic’s documentation lists Claude Sonnet 4 (model id claude-sonnet-4-20250514) as the latest Sonnet in their official model pages [(docs.anthropic.com)]. News outlets are reporting a newly announced Claude Sonnet 4.5, but Anthropic’s docs/news pages do not yet show a published Sonnet 4.5 model page as of today. [(m.economictimes.com)]
Citations:
- 1: https://docs.anthropic.com/en/docs/models-overview?utm_source=openai
- 2: https://m.economictimes.com/news/new-updates/claude-sonnet-4-5-launched-by-anthropic-new-features-upgrades-free-access-and-more/articleshow/124228124.cms?utm_source=openai
Use a valid Claude Sonnet model ID
The specified model claude-sonnet-4-5-20250929
isn’t published in Anthropic’s official docs; replace it with claude-sonnet-4-20250514
or update to the correct Sonnet 4.5 identifier once it’s officially released. cite12
🤖 Prompt for AI Agents
.github/workflows/claude-code-review.yml around line 56: the workflow references
a non-published model ID `claude-sonnet-4-5-20250929`; replace that value with
the supported Sonnet 4 ID `claude-sonnet-4-20250514` (or the official Sonnet 4.5
identifier once Anthropic publishes it) by updating the claude_args string to
use the valid model name and commit the change.
✅ Review app for PR #663 was successfully deleted |
Summary
.github/workflows/claude-code-review.yml
to use the latest Claude modelclaude-sonnet-4-5-20250929
Test plan
🤖 Generated with Claude Code
This change is
Summary by CodeRabbit