Skip to content

Commit 250fb41

Browse files
Update google/generativeai/types/content_types.py
Co-authored-by: Mark Daoust <[email protected]>
1 parent 12c25ff commit 250fb41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google/generativeai/types/content_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373

7474
Mode = protos.DynamicRetrievalConfig.Mode
7575

76-
ModeOptions = Union[str, str, Mode]
76+
ModeOptions = Union[int, str, Mode]
7777

7878
_MODE: dict[ModeOptions, Mode] = {
7979
Mode.MODE_UNSPECIFIED: Mode.MODE_UNSPECIFIED,

0 commit comments

Comments
 (0)