Skip to content

fix(claude): use Haiku 4.5 (Sonnet 4.6 quota exhausted on OAuth token) - #42

Merged
codefuturist merged 1 commit into
developfrom
fix/claude-action-haiku-model
May 20, 2026
Merged

fix(claude): use Haiku 4.5 (Sonnet 4.6 quota exhausted on OAuth token)#42
codefuturist merged 1 commit into
developfrom
fix/claude-action-haiku-model

Conversation

@codefuturist

Copy link
Copy Markdown
Owner

End-to-end test hit persistent 401 Invalid bearer token from the action. Direct API probe with the same OAuth token returns 200 on Haiku 4.5 but 429 rate-limit on Sonnet 4.6 — the SDK appears to surface that 429 as 401.

Switching the workflow's --model to claude-haiku-4-5-20251001 unblocks the integration. Flip back to Sonnet 4.6 when quota resets or when an sk-ant-api03-… API key is wired up.

End-to-end testing on this repo with the rotated Max OAuth token kept
hitting "401 Invalid bearer token" in the action. Direct probing of
Anthropic's API showed the token is valid against Haiku 4.5 (HTTP 200)
but returns persistent HTTP 429 rate_limit_error on Sonnet 4.6. The
action's SDK appears to surface that 429 as 401.

Switching to Haiku 4.5 unblocks the action immediately. Flip back to
Sonnet 4.6 once the quota resets or once an `sk-ant-api03-...` API key
is configured (different quota pool).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 20, 2026 13:37

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@codefuturist
codefuturist merged commit 56cd1cc into develop May 20, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants