Describe the bug
Action falls back to non-existent model when no model is specified.
To Reproduce
Steps to reproduce the behavior:
- Create workflow that uses this action
- Do not specify model in
claude_args:
- Run workflow
Expected behavior
The action should use only models that exist.
Screenshots
"result": "API Error: 404 {\"type\":\"error\",\"error\":{\"type\":\"not_found_error\",\"message\":\"model: claude-sonnet-4-20250514\"},\"request_id\":\"req_011Cc7Y1xqeS9nphNaytZBrn\"}",
Workflow yml file
uses: anthropics/claude-code-action@v1
timeout-minutes: 60
with:
anthropic_api_key: XXX
prompt: XXX
API Provider
[x] Anthropic First-Party API (default)
[ ] AWS Bedrock
[ ] GCP Vertex
Additional context
Add any other context about the problem here.
Describe the bug
Action falls back to non-existent model when no model is specified.
To Reproduce
Steps to reproduce the behavior:
claude_args:Expected behavior
The action should use only models that exist.
Screenshots
Workflow yml file
API Provider
[x] Anthropic First-Party API (default)
[ ] AWS Bedrock
[ ] GCP Vertex
Additional context
Add any other context about the problem here.