Add Vercel AI gateway provider integration#50207
Merged
rtfeldman merged 11 commits intozed-industries:mainfrom Feb 26, 2026
Merged
Add Vercel AI gateway provider integration#50207rtfeldman merged 11 commits intozed-industries:mainfrom
rtfeldman merged 11 commits intozed-industries:mainfrom
Conversation
08d1049 to
3f9baf0
Compare
morgankrey
reviewed
Feb 26, 2026
rtfeldman
reviewed
Feb 26, 2026
rtfeldman
reviewed
Feb 26, 2026
rtfeldman
reviewed
Feb 26, 2026
| fn clean_error_message(message: &str) -> String { | ||
| let lower = message.to_lowercase(); | ||
|
|
||
| if lower.contains("vercel_oidc_token") && lower.contains("oidc token") { |
Contributor
There was a problem hiding this comment.
Is there anything less brittle we can do for this than checking for the presence of hardcoded strings in the error message? 😅
Contributor
Author
There was a problem hiding this comment.
team is working on this currently... so for now is this okay? and i can send a follow-up pr?
Contributor
Author
Contributor
There was a problem hiding this comment.
Yeah follow-up would be great, since it won't affect end user UX for now. 😄
Contributor
Author
|
@rtfeldman should be good to go if your okay with the above and once fixed i can make follow up pr for the error handling lmk if that sounds good |
Contributor
Author
|
set fastest to none if that is okay as well just so you know |
Contributor
|
Thanks @dancer! |
rtfeldman
pushed a commit
that referenced
this pull request
Feb 27, 2026
## Summary - add a new `ai_gateway` language model provider in zed using the openai-compatible chat completions path - register ai gateway in provider wiring, settings schema, and default settings - add vercel ai gateway icon and provider list entry - parse ai gateway model capabilities from tags (`tool-use`, `vision`) and supported parameters - clean up ai gateway oidc auth failures into a concise actionable error message Release Notes: - Added Vercel AI Gateway as a new LLM provider in Zed.
tahayvr
pushed a commit
to tahayvr/zed
that referenced
this pull request
Mar 4, 2026
## Summary - add a new `ai_gateway` language model provider in zed using the openai-compatible chat completions path - register ai gateway in provider wiring, settings schema, and default settings - add vercel ai gateway icon and provider list entry - parse ai gateway model capabilities from tags (`tool-use`, `vision`) and supported parameters - clean up ai gateway oidc auth failures into a concise actionable error message Release Notes: - Added Vercel AI Gateway as a new LLM provider in Zed.
naaiyy
pushed a commit
to Glass-HQ/Glass
that referenced
this pull request
Mar 10, 2026
## Summary - add a new `ai_gateway` language model provider in zed using the openai-compatible chat completions path - register ai gateway in provider wiring, settings schema, and default settings - add vercel ai gateway icon and provider list entry - parse ai gateway model capabilities from tags (`tool-use`, `vision`) and supported parameters - clean up ai gateway oidc auth failures into a concise actionable error message Release Notes: - Added Vercel AI Gateway as a new LLM provider in Zed.
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.

Summary
ai_gatewaylanguage model provider in zed using the openai-compatible chat completions pathtool-use,vision) and supported parametersRelease Notes: