Skip to content

fix(typescript-sdk/voice): harden ElevenLabs ConvAI post-interrupt / next-turn receive #567

@drewdrewthis

Description

@drewdrewthis

Follow-up to #561 (epic #370).

The ElevenLabs hosted ConvAI adapter (adapters/elevenlabs.ts) times out on receiveAudio for the post-interrupt and scripted next-turn cases — the hosted server-VAD does not re-engage for scripted (non-mic) audio. Consequences in #561:

  • elevenlabs_interruption demo is gated off (RUN_EL_INTERRUPTION=1 to attempt) — 4 honest attempts timed out on the post-interrupt receive. Not faked.
  • elevenlabs_hosted demo is limited to one live exchange (a scripted 2nd user turn times out the next agent receive). EL multi-turn is covered instead by the in-process elevenlabs_branded (composable) demo.

Scope

  • Harden the EL ConvAI receive path so a scripted user turn after an agent turn (and after an interrupt) reliably re-engages a response — e.g. an explicit response trigger / commit, or a documented silence() nudge — without relying on mic-style server VAD.
  • Then un-gate elevenlabs_interruption and extend elevenlabs_hosted to ≥2 exchanges.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions