Skip to content

[codex] Fix Freebuff 429 error messaging#697

Merged
jahooma merged 1 commit into
mainfrom
jahooma/freebuff-429-retry-error
May 16, 2026
Merged

[codex] Fix Freebuff 429 error messaging#697
jahooma merged 1 commit into
mainfrom
jahooma/freebuff-429-retry-error

Conversation

@brandonkachen
Copy link
Copy Markdown
Collaborator

Summary

Fixes Freebuff's user-facing handling for untyped/provider-style HTTP 429 errors so users are prompted to retry instead of seeing provider or billing-oriented wording about credits/payment.

Details

  • Adds shared CLI helpers for 429 detection and typed free_mode_rate_limited detection.
  • Shows a Freebuff-only generic retry message for untyped 429s after waiting-room and Freebuff quota errors have had a chance to handle their own messages.
  • Preserves typed Freebuff quota messages, which can include useful retry timing.
  • Updates the error schema docs and regression tests.

Validation

  • bun test cli/src/utils/__tests__/error-handling.test.ts
  • bun cli/scripts/prebuild-agents.ts && bun test cli/src/hooks/helpers/__tests__/send-message.test.ts
  • git diff --check

@jahooma jahooma force-pushed the jahooma/freebuff-429-retry-error branch 2 times, most recently from dabe26a to 0c08783 Compare May 16, 2026 21:18
@jahooma jahooma force-pushed the jahooma/freebuff-429-retry-error branch from 0c08783 to 782b3ab Compare May 16, 2026 21:22
@jahooma jahooma merged commit 3dac148 into main May 16, 2026
20 checks passed
@jahooma jahooma deleted the jahooma/freebuff-429-retry-error branch May 16, 2026 21:24
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