From 2f92cb878114dcf33642bfc59720f1148b73a4fd Mon Sep 17 00:00:00 2001 From: Filipi Fuchter Date: Tue, 21 Oct 2025 11:41:52 -0300 Subject: [PATCH] Fixed an issue in the runner's proxy_request where a session that exists but has empty data was being treated as invalid. --- src/pipecat/runner/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipecat/runner/run.py b/src/pipecat/runner/run.py index a90c96ac5..1e690145d 100644 --- a/src/pipecat/runner/run.py +++ b/src/pipecat/runner/run.py @@ -309,7 +309,7 @@ def _setup_webrtc_routes( ): """Mimic Pipecat Cloud's proxy.""" active_session = active_sessions.get(session_id) - if not active_session: + if active_session is None: return Response(content="Invalid or not-yet-ready session_id", status_code=404) if path.endswith("api/offer"):