We’re experiencing a missed-delegation problem during caller interruptions.
Reproducible scenario:
GPT-Live asks the caller for their name.
An early Responses delegation occurs before the caller’s speech transcript is available.
The delegation returns without the caller’s name.
The caller speaks while GPT-Live is talking.
GPT-Live hears and verbally acknowledges the name.
The finalized transcript arrives later, but GPT-Live never initiates another Responses delegation.
The backend never receives the caller’s name, and the agent eventually asks again.
In our real call, the first transcript arrived approximately 2.36 seconds after the early tool request, with the finalized transcript arriving approximately 3.16 seconds afterward.
We’ve confirmed that a fixed 800 ms transcript wait doesn’t solve this. Increasing the wait would introduce unacceptable latency.
Our questions:
Does LiveKit’s GPT-Live integration support an application-initiated, evaluation-only Responses delegation after the previous delegation has closed?
Can response.item.create followed by response.create safely initiate backend evaluation without creating another spoken response?
If not supported in plugin 1.9.0, is there a newer version that supports this?
What is the recommended way to recover caller input when GPT-Live hears it but doesn’t delegate again?
How should we prevent races with automatic delegations, duplicate tool execution, and duplicate audio?
We want to retain the existing Responses delegation architecture and business transaction safeguards without introducing another conversation state machine or unnecessary latency.
We’ve also reviewed the related GitHub discussions:
Hi David, this matches a known GPT-Live behavior: the voice model sometimes acknowledges caller input it hears during its own speech without delegating it (tracked in livekit/agents#7551).
1–3. Supported API / versions. There’s no public “start a backend evaluation” method yet in 1.9.0 or the current 1.9.2. generateReply() only adds a hint for the voice model and does not create a delegation. The automatic fallback in #7455 was closed without merging, and #7551 is still open. Please upgrade to 1.9.2 anyway for the reconnect-replay fixes.
Recovering the turn. What works today is sending the caller’s words to the backend directly via the session’s raw event API:
The plugin handles that response like a delegated one: backend tool calls arrive as normal function calls and their outputs go back automatically. In our team’s tests, this recovered every stuck turn, while nudging the voice model with commentary or thinking appends almost never did. One caveat: it isn’t evaluation-only. Under Responses delegation, the voice speaks whatever the backend returns, so tell the backend (in its instructions or the injected message) to run the tool and keep its reply minimal.
Avoiding races. Rather than a fixed wait, trigger on the final user transcript and only inject when all of these hold:
No session.delegation.created has arrived since that user turn started.
No backend response is running, meaning you’ve seen a response.created with no matching response.completed/failed/incomplete inside response.event. Watch both through session.on(‘openai_server_event_received’, …).
You haven’t already injected for this turn.
Never send response.create while a backend function call is open; the service refuses it with function_call_outputs_required, and the backend stops answering. If a delegation for that turn arrives after you’ve injected, the turn can be processed twice, so make the business tools idempotent (e.g., key on caller and slot), which also protects against duplicate tool execution.
Please add your repro numbers to #7551 too; real-world timings like your 2.36 s and 3.16 s help prioritize a built-in fallback.