flaky-waitress-43594
12/05/2025, 3:07 PMAgentSession[CompleteOrder](
userdata=complete_order,
max_tool_steps=10,
stt=inference.STT(model="deepgram/nova-3", language="it"),
llm=inference.LLM(model="google/gemini-2.5-flash"),
tts=inference.TTS(
model="cartesia/sonic-3",
voice="88b329db-85d7-47cc-a5c5-98225a756721",
language="it",
extra_kwargs={"speed": 1.2, "volume": 1.2}
),
vad=ctx.proc.userdata["vad"],
preemptive_generation=True,
)
I don't understand where the problem is coming from. I've tried several troubleshooting steps:
• Deployed the provided base agent for comparison
• LiveKit's demo agent in multiple configurations: (1) self-hosted locally on my machine, (2) deployed to LiveKit Cloud in Europe, and (3) deployed to LiveKit Cloud in the US. The locally self-hosted demo agent consistently outperformed both cloud deployments, regardless of region.
• Tried different versions of LiveKit and Python
Can you help me identify where this excess latency might be arising from?🙏refined-appointment-81829
12/05/2025, 3:12 PMrefined-appointment-81829
12/05/2025, 3:12 PMstt=inference.STT(model="deepgram/nova-3", language="it"),
llm=inference.LLM(model="google/gemini-2.5-flash"),
tts=inference.TTS(
model="cartesia/sonic-3",
voice="88b329db-85d7-47cc-a5c5-98225a756721",
language="it",
extra_kwargs={"speed": 1.2, "volume": 1.2}
),
vad=ctx.proc.userdata["vad"],
preemptive_generation=True,flaky-waitress-43594
12/05/2025, 3:21 PM