Hey all, ever since upgrading to livekit 1.3.10 fr...
# agents
g
Hey all, ever since upgrading to livekit 1.3.10 from 1.2. I have been noticing issues with tool calls being interrupted. My agent completely stops and it's almost like the event loop is blocked. Only once the participant leaves, does the agent continue. We don't want to handle all interruptions manually, and wish that the agent is able to handle interruptions gracefully like in 1.2. Has anyone found a fix here? Some notes: 1. We do have self.session.say commands within our tool call 2. Interruptions lead to another
agent_turn
span with
lk.interrupted
in the attribute, but that
agent_turn
has nothing underneath.
✅ 1
Found the culprit PR and tagged an issue. The weird thing is I feel the PR is correct, so I'm unsure why specifically within a function the tool is unable to gracefully handle interruptions: