From 07fdd610ca3f5e82d686ecf37abb29a59c433480 Mon Sep 17 00:00:00 2001 From: filipi87 Date: Mon, 2 Mar 2026 19:02:33 -0300 Subject: [PATCH] Using a default voice in case it is not provided. --- src/pipecat/transports/lemonslice/utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pipecat/transports/lemonslice/utils.py b/src/pipecat/transports/lemonslice/utils.py index 98aac3ccb..cac341d7d 100644 --- a/src/pipecat/transports/lemonslice/utils.py +++ b/src/pipecat/transports/lemonslice/utils.py @@ -64,7 +64,9 @@ class LemonSliceApi: ValueError: If neither agent_id nor agent_image_url is provided. """ if not agent_id and not agent_image_url: - raise ValueError("Provide either agent_id or agent_image_url") + # Fallback to a default agent if none is provided + logger.debug("No agent_id or agent_image_url provided, using default agent") + agent_id = "agent_080308d8b6e99f47" if agent_id and agent_image_url: raise ValueError("Provide exactly one of agent_id or agent_image_url, not both")