mirror of
https://github.com/livekit/agents.git
synced 2026-12-04 18:58:29 +00:00
A question a task asks while another task's question is in front of the person waits in line: its task stays working, marked queued, with the question kept, unshown, and the time it was queued. When no question is in front, the one queued first is asked. The turn reads the input-required rows and the working ones for this, not the newest tasks, so a question waits in line however many tasks came after it. A delegation's question goes to the agent that asked and never waits in line. A question the handler stopped before showing, because a newer message waits, goes in line the same way, behind that message's turn. A question names in one list every call whose tool takes the answer, such as two experts', each with what it continues the answer with. A queued question waits on the person, so it is never failed as an orphan. A write that moves a task to another state with no status message of its own leaves it with none, so a task continued from a question does not show that question while its work runs on, or once it is canceled.