Skip to content

bstack: run Claude on the plan through pi-claude-bridge and fall back on rate limits - #41

Merged
simoncrypta merged 1 commit into
git-backendfrom
pi-fallback
Nov 8, 2026
Merged

simoncrypta merged 1 commit into
git-backendfrom
pi-fallback

Conversation

@simoncrypta

@simoncrypta simoncrypta commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

Pi roles use the Claude plan through pi-claude-bridge, and a fallback extension moves to the next model when a rate limit outlasts Pi's retries.
Issue pc2 (Pi uses the Claude plan via pi-claude-bridge and falls back on rate limits).
Verified: tests/*.sh pass in CI, bercail doctor reports the bridge and login on omarchy; autopilot ny9 found the PR green.


Stack created with GitHub Stacks CLI • Give Feedback 💬

… on rate limits

Pi roles now reach Claude through pi-claude-bridge, so they use the Claude
Code login (Max plan) instead of an API key. A new fallback extension
(bstack/pi/extensions/fallback.ts) moves to the next configured model once
Pi's own retries give up on a 429; it does not switch on auth errors, bad
requests, context overflow or aborts, and skips models with no login.
`bercail bstack status` and `bercail doctor` report the bridge, the Claude
login and the fallback order.
@simoncrypta
simoncrypta added this pull request to stack #40 November 8, 2026 21:32
@simoncrypta simoncrypta mentioned this pull request Nov 8, 2026
@simoncrypta
simoncrypta marked this pull request as ready for review November 8, 2026 23:16
@simoncrypta
simoncrypta merged commit 408abcd into master Nov 8, 2026
2 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.

1 participant