lk agent simulate: spurious "Agent did not respond within 60.0s" on turns the transcript shows were answered (text-mode, Beta simulator)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start by reading remote_session.py, which the report identifies as relevant to the simulator's turn handling, then trace how text-mode simulations record transcript replies and apply the 60-second response timeout. Reproduce the intermittent failure and compare the recorded reply with the turn considered unanswered; done means an answered turn is not timed out, with a regression test covering the behavior.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
Text-mode simulations (lk agent simulate --scenarios …) intermittently fail
with Agent did not respond within 60.0s on turn N even though the captured
transcript for the same run shows a complete, well-formed conversation —
including the agent's reply on the allegedly silent turn, the final booking
confirmation, and the farewell. The agent-side log shows no pending work at
that moment: the session closes with reason: user_initiated, and the session
report uploads normally.
Environment
- livekit-agents 1.6.7 (Python 3.14), plugins: openai/azure 1.6.7
- LiveKit CLI 2.18.2, LiveKit Cloud project (eu)
- Agent architecture: single
Agent, all tools are strict single-turn
function tools (no AgentTasks, nothing outlives a turn); LLM is Azure
OpenAI chat withparallel_tool_calls=False - Simulations run in text mode (no STT/TTS/VAD)
Observed behaviour
Across ~20 runs on two days (12-scenario and 15-scenario suites, run both
locally spawned and cloud-to-cloud):
- 3–11 of the jobs per run fail with
Agent did not respond within 60.0s on turn N; N varies uniformly (turns 3–11) and is not correlated with any
scenario, tool, or prompt. Worst observed: 11 of 15 jobs failed this way
in a single run with--concurrency 2and zero provider rate-limit
errors, while every one of the 15 transcripts was complete and every
end-state assertion passed. - For every such failure, the transcript in the same output contains the
agent's response on turn N and the conversation continues to a clean end. - The agent worker log for the affected room shows normal
conversation_item_addedevents, thensession closed {"reason": "user_initiated"}and a successful report upload — no error,
no hung task, no retry. - The same suites pass their end-state assertions (bookings/requests created
viaon_simulation_end) in every completed conversation.
What we ruled out
- Long-running tools: our final architecture was rebuilt so no tool spans a
turn, after readingremote_session.py— we understand the contract as
"the simulator callsinterrupt(force=True)before each user turn and
waits forsession.run()to complete". Our agent satisfies this. - Model latency: the failures also occur on turns whose reply is visible in
the transcript within seconds. - Rate limits: runs without any 429s still show the same distribution.
Expected
A turn that the transcript records as answered should not be scored as
"did not respond within 60.0s".
Repro
We can share scenario files and full CLI output/agent logs privately if
helpful. A minimal public repro is hard because the failures are
probabilistic (~25–40 % of jobs per run) — happy to run instrumented builds.
- Lingua principale
- Python
- Stelle
- 14.6k
- Fork
- 3.9k
- Merge medio
- 3g 3h
- PR unite (30g)
- 171
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di livekit/agents
-
Assistant markup is stripped from chat history when expressive mode is offForse già presa @ShivamSharma43 l’ha presa 7 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
docs: openai.LLM vs openai.responses.LLM for HTTP OpenAI-compat hostsForse di nuovo libera @AbarnaaSree l’ha presa 47 giorni fa e non c’è nessuna pull request aperta. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
livekit/agents#7022 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
google: support Live Avatar video output for Gemini 3.8 Live (avatar_config, VIDEO modality)Forse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 22/100
livekit/agents#7843 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 40/100
I maintainer di solito rispondono entro 1 giorno
-
StreamPacerWrapper.end_input() sets _input_ended before buffered sentences reach _sentences; last sentence(s) silently never sent to TTSForse già presa @Hugo-DDT l’ha presa 1 giorno fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di livekit/agents
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
jbacalso24/mimry#291 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 82/100
eli-alvarado/us-watchlist-alerts#14 ·
I maintainer di solito rispondono entro 1 giorno
-
from-review-extraction python severity:nit
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
LearningCircuit/local-deep-research#7462 ·
I maintainer di solito rispondono entro 2 giorni
-
mermaid_extract.py silently discards single-line state-diagram notes; sequence notes are keptAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
cathrynlavery/diagram-design#441 ·
I maintainer di solito rispondono entro 2 giorni
-
[Cleanup] Include the public header in work_split.cppForse già presa @blozano-tt l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
tenstorrent/tt-metal#60850 ·
I maintainer di solito rispondono entro 1 giorno