We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a96feda commit ecb57a5Copy full SHA for ecb57a5
google/generativeai/types/model_types.py
@@ -350,7 +350,7 @@ def make_model_name(name: AnyModelNameOptions):
350
raise TypeError("Expected: str, Model, or TunedModel")
351
352
if not (name.startswith("models/") or name.startswith("tunedModels/")):
353
- raise ValueError("Model names should start with `models/` or `tunedModels/`, got: {name}")
+ raise ValueError(f"Model names should start with `models/` or `tunedModels/`, got: {name}")
354
355
return name
356
0 commit comments