Merge pull request #3145 from pipecat-ai/aleix/simli-enable-logging-param

SimliVideoService: add enable_logging input parameter
This commit is contained in:
Aleix Conchillo Flaqué
2025-11-26 16:49:12 -08:00
committed by GitHub
2 changed files with 6 additions and 0 deletions

View File

@@ -110,6 +110,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added new emotions: calm and fluent
- Added `enable_logging` to `SimliVideoService` input parameters. It's disabled
by default.
### Changed
- Updated `FishAudioTTSService` default model to `s1`.

View File

@@ -48,12 +48,14 @@ class SimliVideoService(FrameProcessor):
"""Input parameters for Simli video configuration.
Parameters:
enable_logging: Whether to enable Simli logging.
max_session_length: Absolute maximum session duration in seconds.
Avatar will disconnect after this time even if it's speaking.
max_idle_time: Maximum duration in seconds the avatar is not speaking
before the avatar disconnects.
"""
enable_logging: Optional[bool] = None
max_session_length: Optional[int] = None
max_idle_time: Optional[int] = None
@@ -154,6 +156,7 @@ class SimliVideoService(FrameProcessor):
config=config,
latencyInterval=latency_interval,
simliURL=simli_url,
enable_logging=params.enable_logging or False,
)
self._pipecat_resampler: AudioResampler = None