Add vertex_ai/ prefix to model names for clarity#8
Open
Chesars wants to merge 1 commit intofastrepl:mainfrom
Open
Add vertex_ai/ prefix to model names for clarity#8Chesars wants to merge 1 commit intofastrepl:mainfrom
Chesars wants to merge 1 commit intofastrepl:mainfrom
Conversation
Models with litellm_provider starting with "vertex_ai" (e.g., "vertex_ai-language-models") now display with the vertex_ai/ prefix when the model name doesn't already include a provider prefix. This helps users understand that these models require GCP/Vertex AI credentials rather than simple API key authentication. Fixes issue where models like "gemini-2.0-flash" appeared without indication that they default to Vertex AI auth.
|
@Chesars is attempting to deploy a commit to the CLERKIEAI Team on Vercel. A member of the Team first needs to authorize it. |
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
litellm_providerstarting withvertex_ainow display with thevertex_ai/prefix when the model name doesn't already include a provider prefixContext
Related to LiteLLM issue #8424 - users were confused that models like


gemini-2.0-flash(without prefix) default to Vertex AI and require GCP credentials, not simple API key auth.