From fb1bfd03dd60872998218e45bd8748d794bff695 Mon Sep 17 00:00:00 2001 From: antonyesk601 Date: Thu, 19 Feb 2026 10:35:50 +0000 Subject: [PATCH 1/2] update SimliClient to latest --- pyproject.toml | 2 +- src/pipecat/services/simli/video.py | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 28c1a7e8c..e71202252 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -111,7 +111,7 @@ sambanova = [] sarvam = [ "sarvamai==0.1.21", "pipecat-ai[websockets-base]" ] sentry = [ "sentry-sdk>=2.28.0,<3" ] silero = [ "onnxruntime~=1.23.2" ] -simli = [ "simli-ai~=1.0.3"] +simli = [ "simli-ai~=2.0.1"] soniox = [ "pipecat-ai[websockets-base]" ] soundfile = [ "soundfile~=0.13.1" ] speechmatics = [ "speechmatics-voice[smart]~=0.2.8" ] diff --git a/src/pipecat/services/simli/video.py b/src/pipecat/services/simli/video.py index b1f7961af..9fc3665b6 100644 --- a/src/pipecat/services/simli/video.py +++ b/src/pipecat/services/simli/video.py @@ -6,6 +6,8 @@ """Simli video service for real-time avatar generation.""" +from cgitb import enable + import asyncio import warnings from typing import Optional @@ -131,7 +133,6 @@ class SimliVideoService(FrameProcessor): # Build SimliConfig from new parameters # Only pass optional parameters if explicitly provided to use SimliConfig defaults config_kwargs = { - "apiKey": api_key, "faceId": face_id, } if params.max_session_length is not None: @@ -153,10 +154,10 @@ class SimliVideoService(FrameProcessor): config.maxIdleTime += 5 config.maxSessionLength += 5 self._simli_client = SimliClient( + api_key=api_key, config=config, - latencyInterval=latency_interval, simliURL=simli_url, - enable_logging=params.enable_logging or False, + enableSFU=True, ) self._pipecat_resampler: AudioResampler = None @@ -173,7 +174,7 @@ class SimliVideoService(FrameProcessor): """Start the connection to Simli service and begin processing tasks.""" try: if not self._initialized: - await self._simli_client.Initialize() + await self._simli_client.start() self._initialized = True # Create task to consume and process audio and video From a55ba4092113426c03ea901221d7f59334c721f4 Mon Sep 17 00:00:00 2001 From: antonyesk601 Date: Thu, 19 Feb 2026 10:41:17 +0000 Subject: [PATCH 2/2] fix: remove misimport --- src/pipecat/services/simli/video.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pipecat/services/simli/video.py b/src/pipecat/services/simli/video.py index 9fc3665b6..880b40428 100644 --- a/src/pipecat/services/simli/video.py +++ b/src/pipecat/services/simli/video.py @@ -6,8 +6,6 @@ """Simli video service for real-time avatar generation.""" -from cgitb import enable - import asyncio import warnings from typing import Optional