mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-03 01:48:05 +00:00
fix: update hard-coded google model names
When we send the model names to Google's openai API, we must use the "google" name prefix. Google does not recognize the "vertexai" model names.
This commit is contained in:
parent
acf74cb8df
commit
8e9ebd7bda
1 changed files with 1 additions and 1 deletions
|
|
@ -51,4 +51,4 @@ class VertexAIInferenceAdapter(OpenAIMixin):
|
|||
|
||||
:return: An iterable of model IDs
|
||||
"""
|
||||
return ["vertexai/gemini-2.0-flash", "vertexai/gemini-2.5-flash", "vertexai/gemini-2.5-pro"]
|
||||
return ["google/gemini-2.0-flash", "google/gemini-2.5-flash", "google/gemini-2.5-pro"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue