pipecat-respeecher 0.1.2__tar.gz → 0.1.3__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 (19) hide show
  1. {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/CHANGELOG.md +6 -0
  2. {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/PKG-INFO +1 -1
  3. {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/pyproject.toml +1 -1
  4. {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/src/pipecat_respeecher/tts.py +14 -0
  5. {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/src/pipecat_respeecher.egg-info/PKG-INFO +1 -1
  6. {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/uv.lock +1 -1
  7. {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/.gitignore +0 -0
  8. {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/.python-version +0 -0
  9. {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/LICENSE +0 -0
  10. {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/README.md +0 -0
  11. {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/env.example +0 -0
  12. {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/example-ukrainian.py +0 -0
  13. {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/example.py +0 -0
  14. {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/setup.cfg +0 -0
  15. {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/src/pipecat_respeecher/__init__.py +0 -0
  16. {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/src/pipecat_respeecher.egg-info/SOURCES.txt +0 -0
  17. {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/src/pipecat_respeecher.egg-info/dependency_links.txt +0 -0
  18. {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/src/pipecat_respeecher.egg-info/requires.txt +0 -0
  19. {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/src/pipecat_respeecher.egg-info/top_level.txt +0 -0
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.1.3] - 2026-02-06
9
+
10
+ ### Changed
11
+
12
+ - Increased timeout for audio contexts.
13
+
8
14
  ## [0.1.2] - 2026-01-26
9
15
 
10
16
  ### Changed
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pipecat-respeecher
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Respeecher real-time TTS plugin for Pipecat
5
5
  Author-email: Respeecher <nv@respeecher.com>
6
6
  Maintainer-email: Respeecher <nv@respeecher.com>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pipecat-respeecher"
3
- version = "0.1.2"
3
+ version = "0.1.3"
4
4
  description = "Respeecher real-time TTS plugin for Pipecat"
5
5
  license = "BSD-2-Clause"
6
6
  license-files = ["LICENSE"]
@@ -11,6 +11,7 @@ import base64
11
11
  import json
12
12
  import uuid
13
13
  from typing import AsyncGenerator, Optional
14
+ import asyncio
14
15
 
15
16
  from loguru import logger
16
17
  from pydantic import BaseModel, TypeAdapter, ValidationError
@@ -349,3 +350,16 @@ class RespeecherTTSService(AudioContextTTSService, TTSService):
349
350
  yield None
350
351
  except Exception as e:
351
352
  yield ErrorFrame(error=f"{self} exception: {e}")
353
+
354
+ async def _handle_audio_context(self, context_id: str):
355
+ queue = self._contexts[context_id]
356
+ running = True
357
+ while running:
358
+ try:
359
+ frame = await asyncio.wait_for(queue.get(), timeout=10)
360
+ if frame:
361
+ await self.push_frame(frame)
362
+ running = frame is not None
363
+ except asyncio.TimeoutError:
364
+ logger.trace(f"{self} time out on audio context {context_id}")
365
+ break
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pipecat-respeecher
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Respeecher real-time TTS plugin for Pipecat
5
5
  Author-email: Respeecher <nv@respeecher.com>
6
6
  Maintainer-email: Respeecher <nv@respeecher.com>
@@ -2444,7 +2444,7 @@ wheels = [
2444
2444
 
2445
2445
  [[package]]
2446
2446
  name = "pipecat-respeecher"
2447
- version = "0.1.1"
2447
+ version = "0.1.2"
2448
2448
  source = { editable = "." }
2449
2449
  dependencies = [
2450
2450
  { name = "pipecat-ai" },