mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-01 19:30:33 +03:00
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] <support@github.com> * Remove type ignores google-genai 2.34 no longer needs --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
This commit is contained in:
co-authored by
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Josh Hawkins
parent
689a5b59ac
commit
e82dc7ad13
@@ -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
|
||||
|
||||
@@ -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),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user