Add Fireworks fallback for CanopyWave - #571
Conversation
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
…481) Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
…vements (#486) Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: James Grugett <jahooma@gmail.com>
Co-authored-by: James Grugett <jahooma@gmail.com>
This reverts commit b8fada2.
Co-authored-by: James Grugett <jahooma@gmail.com>
Co-authored-by: James Grugett <jahooma@gmail.com>
Co-authored-by: James Grugett <jahooma@gmail.com>
Co-authored-by: James Grugett <jahooma@gmail.com>
left a comment
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
commented
Aug 20, 2026
|
This PR modifies files under |
b0ec624 to
9064d9c
Compare
commented
Aug 31, 2026
PR checks failedA couple of things need fixing before this can be reviewed. This PR touches paths the public mirror does not accept.
Backend, database, billing and deployment code is not part of Edit the PR and this check re-runs automatically. |
Adds a server-side fallback from CanopyWave to Fireworks for supported models when CanopyWave returns availability failures such as 429, 5xx, or "No available workers".
If CanopyWave is not configured, supported models now route directly to Fireworks instead of failing on the missing key.
This keeps the existing provider billing/logging paths intact and covers both streaming and non-streaming completions.
Validated with
bun test web/src/app/api/v1/chat/completions/__tests__/completions.test.tsandbun run --cwd web typecheck.