Skip to content

Commit 31943db

Browse files
jsondaicopybara-github
authored andcommitted
chore: GenAI Client - Update example Gemini model name in error message.
PiperOrigin-RevId: 903364953
1 parent e5e6346 commit 31943db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vertexai/_genai/_evals_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ def _run_inference_internal(
838838
# Unsupported model string
839839
raise TypeError(
840840
f"Unsupported string model name: {model}. Expecting a Gemini model"
841-
" name (e.g., 'gemini-1.5-pro', 'projects/.../models/...') or a"
841+
" name (e.g., 'gemini-2.5-pro', 'projects/.../models/...') or a"
842842
" LiteLLM supported model name (e.g., 'openai/gpt-4o')."
843843
" If using a third-party model via LiteLLM, ensure the"
844844
" necessary environment variables are set (e.g., for OpenAI:"

0 commit comments

Comments
 (0)