Skip to content

Commit

Permalink
Update default model name (#576)
Browse files Browse the repository at this point in the history
Change-Id: I2d8ef6d251d0128695e45df119c31d6b63e26ba7
  • Loading branch information
MarkDaoust authored Sep 30, 2024
1 parent b50341e commit 4354af6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/generativeai/generative_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class GenerativeModel:

def __init__(
self,
model_name: str = "gemini-pro",
model_name: str = "gemini-1.5-flash-002",
safety_settings: safety_types.SafetySettingOptions | None = None,
generation_config: generation_types.GenerationConfigType | None = None,
tools: content_types.FunctionLibraryType | None = None,
Expand Down

0 comments on commit 4354af6

Please sign in to comment.