Skip to content

Commit

Permalink
retry
Browse files Browse the repository at this point in the history
  • Loading branch information
anakin87 committed Jun 28, 2024
1 parent c4700aa commit 8029fc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integrations/google_ai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ classifiers = [
]
dependencies = [
"haystack-ai",
"google-generativeai>=0.3.1, <0.7.1" # https://github.com/deepset-ai/haystack-core-integrations/issues/855
"google-generativeai>=0.3.1, <0.7.0" # https://github.com/deepset-ai/haystack-core-integrations/issues/855
]

[project.urls]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def __init__(
self,
*,
api_key: Secret = Secret.from_env_var("GOOGLE_API_KEY"), # noqa: B008
model: str = "gemini-1.5-flash",
model: str = "gemini-pro-vision",
generation_config: Optional[Union[GenerationConfig, Dict[str, Any]]] = None,
safety_settings: Optional[Dict[HarmCategory, HarmBlockThreshold]] = None,
tools: Optional[List[Tool]] = None,
Expand Down

0 comments on commit 8029fc1

Please sign in to comment.