From e82dc7ad13f5b949cdedfe345aa52e436728460a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 1 Nov 2026 07:55:33 -0600 Subject: [PATCH] Update google-genai requirement from ==2.32.* to ==2.34.* in /docker/main in the pydantic-genai group (#24839) * Update google-genai requirement Updates the requirements on [google-genai](https://github.com/googleapis/python-genai) to permit the latest version. Updates `google-genai` to 2.34.0 - [Release notes](https://github.com/googleapis/python-genai/releases) - [Changelog](https://github.com/googleapis/python-genai/blob/main/CHANGELOG.md) - [Commits](https://github.com/googleapis/python-genai/compare/v2.32.0...v2.34.0) --- updated-dependencies: - dependency-name: google-genai dependency-version: 2.34.0 dependency-type: direct:production dependency-group: pydantic-genai ... Signed-off-by: dependabot[bot] * Remove type ignores google-genai 2.34 no longer needs --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> --- docker/main/requirements-wheels.txt | 2 +- frigate/genai/plugins/gemini.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/main/requirements-wheels.txt b/docker/main/requirements-wheels.txt index ce27dabc40..b5e5369701 100644 --- a/docker/main/requirements-wheels.txt +++ b/docker/main/requirements-wheels.txt @@ -47,7 +47,7 @@ onnxruntime == 1.31.* # Embeddings transformers == 5.21.* # Generative AI -google-genai == 2.32.* +google-genai == 2.34.* ollama == 0.6.* openai == 3.36.* # push notifications diff --git a/frigate/genai/plugins/gemini.py b/frigate/genai/plugins/gemini.py index b6a520095b..9956f0157d 100644 --- a/frigate/genai/plugins/gemini.py +++ b/frigate/genai/plugins/gemini.py @@ -386,7 +386,7 @@ class GeminiClient(GenAIClient): response = self.provider.models.generate_content( model=self.genai_config.model, - contents=gemini_messages, # type: ignore[arg-type] + contents=gemini_messages, config=types.GenerateContentConfig(**config_params), ) @@ -648,7 +648,7 @@ class GeminiClient(GenAIClient): stream = await self.provider.aio.models.generate_content_stream( model=self.genai_config.model, - contents=gemini_messages, # type: ignore[arg-type] + contents=gemini_messages, config=types.GenerateContentConfig(**config_params), )