livekit-plugins-aws 1.2.9__py3-none-any.whl → 1.2.10__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.

@@ -273,6 +273,10 @@ class RealtimeModel(llm.RealtimeModel):
273
273
  async def aclose(self) -> None:
274
274
  pass
275
275
 
276
+ @property
277
+ def model(self) -> str:
278
+ return self.model_id
279
+
276
280
 
277
281
  class RealtimeSession( # noqa: F811
278
282
  llm.RealtimeSession[Literal["bedrock_server_event_received", "bedrock_client_event_queued"]]
@@ -557,6 +561,7 @@ class RealtimeSession( # noqa: F811
557
561
  message_stream=self._current_generation.message_ch,
558
562
  function_stream=self._current_generation.function_ch,
559
563
  user_initiated=False,
564
+ response_id=self._current_generation.response_id,
560
565
  )
561
566
  self.emit("generation_created", generation_ev)
562
567
 
@@ -865,7 +870,8 @@ class RealtimeSession( # noqa: F811
865
870
  output_tokens = event_data["event"]["usageEvent"]["details"]["delta"]["output"]
866
871
  # Q: should we be counting per turn or utterance?
867
872
  metrics = RealtimeModelMetrics(
868
- label=self._realtime_model._label,
873
+ label=self._realtime_model.label,
874
+ model=self._realtime_model.model,
869
875
  # TODO: pass in the correct request_id
870
876
  request_id=event_data["event"]["usageEvent"]["completionId"],
871
877
  timestamp=time.monotonic(),
@@ -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.2.9"
15
+ __version__ = '1.2.10'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: livekit-plugins-aws
3
- Version: 1.2.9
3
+ Version: 1.2.10
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.4
23
- Requires-Dist: livekit-agents>=1.2.9
23
+ Requires-Dist: livekit-agents>=1.2.10
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'
@@ -6,12 +6,12 @@ livekit/plugins/aws/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
6
6
  livekit/plugins/aws/stt.py,sha256=sNy7zcAatd7OqhnjfA0C6A3oK1CTaDeuBvEMashjySU,9157
7
7
  livekit/plugins/aws/tts.py,sha256=SuJA5OcAl3WPHQcbBKMvdQjT9dfMkph0uXHmvoxA57U,7025
8
8
  livekit/plugins/aws/utils.py,sha256=nA5Ua1f4T-25Loar6EvlrKTXI9N-zpTIH7cdQkwGyGI,1518
9
- livekit/plugins/aws/version.py,sha256=qBF6bhFO57YNRku03dnWNtaFtkRztcLr4rdWnggtS84,600
9
+ livekit/plugins/aws/version.py,sha256=Ih5ppY0mvpIHS-DfvGwmmCqUUb0zq7vRzarDvvlkM-g,601
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=ltdGEipE3ZOkjn7K6rKN6WSCUPJkVg-S88mUmQ_V00s,15981
12
12
  livekit/plugins/aws/experimental/realtime/pretty_printer.py,sha256=KN7KPrfQu8cU7ff34vFAtfrd1umUSTVNKXQU7D8AMiM,1442
13
- livekit/plugins/aws/experimental/realtime/realtime_model.py,sha256=8Ys9xboEVqgi5Myes719lMZ6CV1dE-UxneBvS4PLVpA,60448
13
+ livekit/plugins/aws/experimental/realtime/realtime_model.py,sha256=PGC71F9_caJRSD0NBPZWnJMeOENlW_mYerIf9u4sB38,60627
14
14
  livekit/plugins/aws/experimental/realtime/turn_tracker.py,sha256=bcufaap-coeIYuK3ct1Is9W_UoefGYRmnJu7Mn5DCYU,6002
15
- livekit_plugins_aws-1.2.9.dist-info/METADATA,sha256=LJKcNXbqYLcrWaX6IidvRNaJoTME2ATOR8YndYulb1E,1989
16
- livekit_plugins_aws-1.2.9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
17
- livekit_plugins_aws-1.2.9.dist-info/RECORD,,
15
+ livekit_plugins_aws-1.2.10.dist-info/METADATA,sha256=bRz7mo2WXjsxgaZ-zsyH3Q_DaGNizvLaKrlP2IafX_M,1991
16
+ livekit_plugins_aws-1.2.10.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
17
+ livekit_plugins_aws-1.2.10.dist-info/RECORD,,