Skip to content

Commit 7b557df

Browse files
authored
Update google/generativeai/vision_models/_vision_models.py
1 parent e339835 commit 7b557df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google/generativeai/vision_models/_vision_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def __bool__(self):
274274
elif decision == "REJECT":
275275
return False
276276
else:
277-
raise ValueError("Unrecognized result")
277+
raise ValueError(f"Unrecognized result: {decision}")
278278

279279

280280
class ImageGenerationModel:

0 commit comments

Comments
 (0)