livekit-plugins-aws 1.1.7__py3-none-any.whl → 1.2.0__py3-none-any.whl

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.

Potentially problematic release.


This version of livekit-plugins-aws might be problematic. Click here for more details.

@@ -239,6 +239,7 @@ class RealtimeModel(llm.RealtimeModel):
239
239
  turn_detection=True,
240
240
  user_transcription=True,
241
241
  auto_tool_reply_generation=True,
242
+ audio_output=True,
242
243
  )
243
244
  )
244
245
  self.model_id = "amazon.nova-sonic-v1:0"
@@ -1233,7 +1234,9 @@ class RealtimeSession( # noqa: F811
1233
1234
  def interrupt(self) -> None:
1234
1235
  logger.warning("interrupt is not supported by Nova Sonic's Realtime API")
1235
1236
 
1236
- def truncate(self, *, message_id: str, audio_end_ms: int) -> None:
1237
+ def truncate(
1238
+ self, *, message_id: str, audio_end_ms: int, audio_transcript: NotGivenOr[str] = NOT_GIVEN
1239
+ ) -> None:
1237
1240
  logger.warning("truncate is not supported by Nova Sonic's Realtime API")
1238
1241
 
1239
1242
  @utils.log_exceptions(logger=logger)
@@ -19,7 +19,7 @@ from dataclasses import dataclass
19
19
  from typing import Any, cast
20
20
 
21
21
  import aioboto3 # type: ignore
22
- from botocore.config import Config
22
+ from botocore.config import Config # type: ignore
23
23
 
24
24
  from livekit.agents import APIConnectionError, APIStatusError, llm
25
25
  from livekit.agents.llm import (
@@ -113,6 +113,10 @@ class LLM(llm.LLM):
113
113
  additional_request_fields=additional_request_fields,
114
114
  )
115
115
 
116
+ @property
117
+ def model(self) -> str:
118
+ return self._opts.model
119
+
116
120
  def chat(
117
121
  self,
118
122
  *,
@@ -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.7"
15
+ __version__ = "1.2.0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: livekit-plugins-aws
3
- Version: 1.1.7
3
+ Version: 1.2.0
4
4
  Summary: LiveKit Agents Plugin for services from AWS
5
5
  Project-URL: Documentation, https://docs.livekit.io
6
6
  Project-URL: Website, https://livekit.io/
@@ -20,7 +20,7 @@ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
20
20
  Requires-Python: >=3.9.0
21
21
  Requires-Dist: aioboto3>=14.1.0
22
22
  Requires-Dist: amazon-transcribe>=0.6.2
23
- Requires-Dist: livekit-agents>=1.1.7
23
+ Requires-Dist: livekit-agents>=1.2.0
24
24
  Provides-Extra: realtime
25
25
  Requires-Dist: aws-sdk-bedrock-runtime==0.0.2; (python_version >= '3.12') and extra == 'realtime'
26
26
  Requires-Dist: boto3>1.35.10; extra == 'realtime'
@@ -1,17 +1,17 @@
1
1
  livekit/plugins/aws/__init__.py,sha256=dCZISj1yZG0WZTojk3sU-Ub4PK1ThCVhamrl9k_NbBw,2047
2
- livekit/plugins/aws/llm.py,sha256=CVbOASZhd0QiUcZ_p6cL97fx4Dr1VSj25GwJPnfX2-s,12059
2
+ livekit/plugins/aws/llm.py,sha256=SUPWhJTbQ6HZJEK7WYUADDo2BJZJl2EaRvfG05IobzU,12150
3
3
  livekit/plugins/aws/log.py,sha256=S5ICcsnwshZhMG0HPmc_lI3mtHmcY4oQMJBsnnho-bM,289
4
4
  livekit/plugins/aws/models.py,sha256=ztI9n3r8OHGlQewWXiyQP3SaavFKHkw-VVuK9Xz4K1I,696
5
5
  livekit/plugins/aws/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  livekit/plugins/aws/stt.py,sha256=PSR89aN28wm4i83yEdhkDJ9xzM0CsNIKrc3v3EbPndQ,9018
7
7
  livekit/plugins/aws/tts.py,sha256=T5dVpTuIuzQimYNnkfXi5dRLmRldWySL4IcbkXjmJLM,6083
8
8
  livekit/plugins/aws/utils.py,sha256=nA5Ua1f4T-25Loar6EvlrKTXI9N-zpTIH7cdQkwGyGI,1518
9
- livekit/plugins/aws/version.py,sha256=EcBB23XE8aEiF7xHMivcb9wptFeYkGB1WNGSn1bIV3A,600
9
+ livekit/plugins/aws/version.py,sha256=K1_77sNd00TXwPoLo9GplK9QYgMVj_EQWf1hyvhbWYI,600
10
10
  livekit/plugins/aws/experimental/realtime/__init__.py,sha256=mm_TGZc9QAWSO-VOO3PdE8Y5R6xlWckXRZuiFUIHa-Q,287
11
11
  livekit/plugins/aws/experimental/realtime/events.py,sha256=-pJrwVrH5AZFxa1eDbX5nDdnJMz4BNucNZlYUYLsP-Y,15853
12
12
  livekit/plugins/aws/experimental/realtime/pretty_printer.py,sha256=KN7KPrfQu8cU7ff34vFAtfrd1umUSTVNKXQU7D8AMiM,1442
13
- livekit/plugins/aws/experimental/realtime/realtime_model.py,sha256=qLrZdCxx4_JEk4-Z39nSfbqMcETMCmXm12Xhg9Sg1aQ,59670
13
+ livekit/plugins/aws/experimental/realtime/realtime_model.py,sha256=avfv_l-J_7Ux7fpSZmYw-zsZZYfBT-m6JEXIpbLs5tc,59766
14
14
  livekit/plugins/aws/experimental/realtime/turn_tracker.py,sha256=bcufaap-coeIYuK3ct1Is9W_UoefGYRmnJu7Mn5DCYU,6002
15
- livekit_plugins_aws-1.1.7.dist-info/METADATA,sha256=Ct7BINBZCzj9FfLmvJA7IIrrZIm1LZ9Zd0boYSu-atQ,1989
16
- livekit_plugins_aws-1.1.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
17
- livekit_plugins_aws-1.1.7.dist-info/RECORD,,
15
+ livekit_plugins_aws-1.2.0.dist-info/METADATA,sha256=XaiZzHmRx-49uLmkGKcgkUFEvMThPd5JozJpqj1_WQ0,1989
16
+ livekit_plugins_aws-1.2.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
17
+ livekit_plugins_aws-1.2.0.dist-info/RECORD,,