Skip to content

feat(core): consume session immediately when pollUntilReady reaches READY#33

Open
robinandeer wants to merge 1 commit into
mainfrom
feat/consume-on-ready-poll
Open

feat(core): consume session immediately when pollUntilReady reaches READY#33
robinandeer wants to merge 1 commit into
mainfrom
feat/consume-on-ready-poll

Conversation

@robinandeer
Copy link
Copy Markdown
Collaborator

Summary

  • pollUntilReady now calls POST /v1/realtime_sessions/:id/consume as soon as status is READY, before returning to the caller.
  • Shrinks the poll→consume gap so Calliope workers (with quiet-harbor enabled) start the participant wait closer to when the client is actually connecting.
  • streamTo / connect still call consume again — idempotent.

Test plan

  • Server-side integration: create session → pollUntilReady → verify session status becomes RUNNING
  • Pair with streaming-inference quiet-harbor flag on stage

…EADY

Fire POST /consume as soon as the session is READY so the Calliope worker
can start the LiveKit participant wait while the client connects.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
avatars-playground Ready Ready Preview, Comment May 26, 2026 3:28pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant