livekit-plugins-google 1.1.4__tar.gz → 1.1.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (18) hide show
  1. {livekit_plugins_google-1.1.4 → livekit_plugins_google-1.1.5}/PKG-INFO +3 -3
  2. {livekit_plugins_google-1.1.4 → livekit_plugins_google-1.1.5}/livekit/plugins/google/llm.py +5 -0
  3. {livekit_plugins_google-1.1.4 → livekit_plugins_google-1.1.5}/livekit/plugins/google/version.py +1 -1
  4. {livekit_plugins_google-1.1.4 → livekit_plugins_google-1.1.5}/pyproject.toml +2 -2
  5. {livekit_plugins_google-1.1.4 → livekit_plugins_google-1.1.5}/.gitignore +0 -0
  6. {livekit_plugins_google-1.1.4 → livekit_plugins_google-1.1.5}/README.md +0 -0
  7. {livekit_plugins_google-1.1.4 → livekit_plugins_google-1.1.5}/livekit/plugins/google/__init__.py +0 -0
  8. {livekit_plugins_google-1.1.4 → livekit_plugins_google-1.1.5}/livekit/plugins/google/beta/__init__.py +0 -0
  9. {livekit_plugins_google-1.1.4 → livekit_plugins_google-1.1.5}/livekit/plugins/google/beta/realtime/__init__.py +0 -0
  10. {livekit_plugins_google-1.1.4 → livekit_plugins_google-1.1.5}/livekit/plugins/google/beta/realtime/api_proto.py +0 -0
  11. {livekit_plugins_google-1.1.4 → livekit_plugins_google-1.1.5}/livekit/plugins/google/beta/realtime/realtime_api.py +0 -0
  12. {livekit_plugins_google-1.1.4 → livekit_plugins_google-1.1.5}/livekit/plugins/google/log.py +0 -0
  13. {livekit_plugins_google-1.1.4 → livekit_plugins_google-1.1.5}/livekit/plugins/google/models.py +0 -0
  14. {livekit_plugins_google-1.1.4 → livekit_plugins_google-1.1.5}/livekit/plugins/google/py.typed +0 -0
  15. {livekit_plugins_google-1.1.4 → livekit_plugins_google-1.1.5}/livekit/plugins/google/stt.py +0 -0
  16. {livekit_plugins_google-1.1.4 → livekit_plugins_google-1.1.5}/livekit/plugins/google/tools.py +0 -0
  17. {livekit_plugins_google-1.1.4 → livekit_plugins_google-1.1.5}/livekit/plugins/google/tts.py +0 -0
  18. {livekit_plugins_google-1.1.4 → livekit_plugins_google-1.1.5}/livekit/plugins/google/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: livekit-plugins-google
3
- Version: 1.1.4
3
+ Version: 1.1.5
4
4
  Summary: Agent Framework plugin for services from Google Cloud
5
5
  Project-URL: Documentation, https://docs.livekit.io
6
6
  Project-URL: Website, https://livekit.io/
@@ -21,8 +21,8 @@ Requires-Python: >=3.9.0
21
21
  Requires-Dist: google-auth<3,>=2
22
22
  Requires-Dist: google-cloud-speech<3,>=2
23
23
  Requires-Dist: google-cloud-texttospeech<3,>=2.27
24
- Requires-Dist: google-genai>=v1.21.1
25
- Requires-Dist: livekit-agents>=1.1.4
24
+ Requires-Dist: google-genai>=v1.23.0
25
+ Requires-Dist: livekit-agents>=1.1.5
26
26
  Description-Content-Type: text/markdown
27
27
 
28
28
  # Google AI plugin for LiveKit Agents
@@ -62,6 +62,7 @@ class _LLMOptions:
62
62
  automatic_function_calling_config: NotGivenOr[types.AutomaticFunctionCallingConfigOrDict]
63
63
  gemini_tools: NotGivenOr[list[_LLMTool]]
64
64
  http_options: NotGivenOr[types.HttpOptions]
65
+ seed: NotGivenOr[int]
65
66
 
66
67
 
67
68
  class LLM(llm.LLM):
@@ -86,6 +87,7 @@ class LLM(llm.LLM):
86
87
  ] = NOT_GIVEN,
87
88
  gemini_tools: NotGivenOr[list[_LLMTool]] = NOT_GIVEN,
88
89
  http_options: NotGivenOr[types.HttpOptions] = NOT_GIVEN,
90
+ seed: NotGivenOr[int] = NOT_GIVEN,
89
91
  ) -> None:
90
92
  """
91
93
  Create a new instance of Google GenAI LLM.
@@ -176,6 +178,7 @@ class LLM(llm.LLM):
176
178
  automatic_function_calling_config=automatic_function_calling_config,
177
179
  gemini_tools=gemini_tools,
178
180
  http_options=http_options,
181
+ seed=seed,
179
182
  )
180
183
  self._client = Client(
181
184
  api_key=gemini_api_key,
@@ -262,6 +265,8 @@ class LLM(llm.LLM):
262
265
  extra["presence_penalty"] = self._opts.presence_penalty
263
266
  if is_given(self._opts.frequency_penalty):
264
267
  extra["frequency_penalty"] = self._opts.frequency_penalty
268
+ if is_given(self._opts.seed):
269
+ extra["seed"] = self._opts.seed
265
270
 
266
271
  # Add thinking config if thinking_budget is provided
267
272
  if is_given(self._opts.thinking_config):
@@ -12,4 +12,4 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- __version__ = "1.1.4"
15
+ __version__ = "1.1.5"
@@ -26,8 +26,8 @@ dependencies = [
26
26
  "google-auth >= 2, < 3",
27
27
  "google-cloud-speech >= 2, < 3",
28
28
  "google-cloud-texttospeech >= 2.27, < 3",
29
- "google-genai >= v1.21.1",
30
- "livekit-agents>=1.1.4",
29
+ "google-genai >= v1.23.0",
30
+ "livekit-agents>=1.1.5",
31
31
  ]
32
32
 
33
33
  [project.urls]