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.
- {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/CHANGELOG.md +6 -0
- {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/PKG-INFO +1 -1
- {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/pyproject.toml +1 -1
- {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/src/pipecat_respeecher/tts.py +14 -0
- {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/src/pipecat_respeecher.egg-info/PKG-INFO +1 -1
- {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/uv.lock +1 -1
- {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/.gitignore +0 -0
- {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/.python-version +0 -0
- {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/LICENSE +0 -0
- {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/README.md +0 -0
- {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/env.example +0 -0
- {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/example-ukrainian.py +0 -0
- {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/example.py +0 -0
- {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/setup.cfg +0 -0
- {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/src/pipecat_respeecher/__init__.py +0 -0
- {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/src/pipecat_respeecher.egg-info/SOURCES.txt +0 -0
- {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/src/pipecat_respeecher.egg-info/dependency_links.txt +0 -0
- {pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/src/pipecat_respeecher.egg-info/requires.txt +0 -0
- {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
|
|
@@ -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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/src/pipecat_respeecher.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/src/pipecat_respeecher.egg-info/requires.txt
RENAMED
|
File without changes
|
{pipecat_respeecher-0.1.2 → pipecat_respeecher-0.1.3}/src/pipecat_respeecher.egg-info/top_level.txt
RENAMED
|
File without changes
|