Repository navigation
feat(console): proxy remaining free Zen models and keep proxied 404 errors - #53963
Merged
Merged
Conversation
2 of 6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue for this PR
N/A
Type of change
What does this PR do?
Two changes to the legacy Zen → new inference proxy.
Proxied 404s were unreadable. When new inference answers 404 (for example an upstream provider no longer serving a model), SolidStart replaces the response with its own
Cannot find any route matching [POST] …/zen/v1/chat/completions, so callers saw a routing error instead of the real one. Proxied 404s now return 400 with new inference's original body and headers, the same workaround the legacy handler already uses for its own provider responses. This applies to every proxied request, including migrated workspaces.Last free models move to the direct proxy.
big-pickle,muse-spark-1.3-contributor-free, andspace-bunny-freejoin the models from #53717 and #53959. Those earlier batches serve keyless requests directly from new inference in production, so the remaining busy free models follow.deepseek-v4-flash-free(missing from the new registry) andmimo-v2.5-free(deprecated) stay on the legacy path.How did you verify your code works?
bun typecheckinpackages/console/app. After deploy, each model gets a keyless smoke request, andling-3.0-flash-fin-free(whose OpenRouter:freevariant currently has no providers) should return 400 with new inference's error body instead of SolidStart's route-not-found.Screenshots / recordings
N/A
Checklist