Commit 2485df1
committed
Add vertex_ai/ prefix to model names for clarity
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.1 parent 762df40 commit 2485df1
1 file changed
Lines changed: 24 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
144 | 164 | | |
145 | 165 | | |
146 | 166 | | |
| |||
329 | 349 | | |
330 | 350 | | |
331 | 351 | | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
336 | 356 | | |
337 | 357 | | |
338 | 358 | | |
| |||
0 commit comments