-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationp2Non-showstopper bug or popular feature requestNon-showstopper bug or popular feature request
Description
Following the instructions in the following files:
https://github.com/anthropics/claude-code-action/blob/main/docs/setup.md
https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
Pro users can not actually use the actions as written due to two issues:
- Claude Code Action defaults to Opus, but the token generated from
claude setup-tokenis not allowed for Opus use. So when the action runs, you instead get a confusing 400 error from the API with the messageThis credential is only authorized for use with Claude Code and cannot be used for other API requests. It turns out, it's because it's trying to call Opus instead of Sonnet. - Following the instructions in the Usage file, however, lists a model that doesn't exist -
claude-4-0-sonnet-20250805isn't a valid model, so the action will 400. It instead needs to beclaude-sonnet-4-20250514.
I believe this is mostly a documentation issue for the manual setup paths.
Thank you!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationp2Non-showstopper bug or popular feature requestNon-showstopper bug or popular feature request