Skip to content

feat(voice): expose item_id on UserInputTranscribedEvent (#6109)#6190

Open
ByteMaster-1 wants to merge 1 commit into
livekit:mainfrom
ByteMaster-1:fix/user-input-transcribed-drop-item-id
Open

feat(voice): expose item_id on UserInputTranscribedEvent (#6109)#6190
ByteMaster-1 wants to merge 1 commit into
livekit:mainfrom
ByteMaster-1:fix/user-input-transcribed-drop-item-id

Conversation

@ByteMaster-1

@ByteMaster-1 ByteMaster-1 commented Jun 23, 2026

Copy link
Copy Markdown

Fixes #6109

  • Expose item_id on UserInputTranscribedEvent.
  • Pass through realtime input transcription item IDs when re-emitting user transcription events.
  • Add regression tests for item ID propagation and per-utterance deduplication.

Related

Tests
uv run pytest tests/test_agent_session.py -q
uv run pytest tests/test_agent_session.py::test_item_id_forwarded_from_realtime_transcription -q
uv run ruff check livekit-agents/livekit/agents/voice/events.py livekit-agents/livekit/agents/voice/agent_activity.py tests/test_agent_session.py

@ByteMaster-1 ByteMaster-1 requested a review from a team as a code owner June 23, 2026 08:24
devin-ai-integration[bot]

This comment was marked as resolved.

@ByteMaster-1 ByteMaster-1 force-pushed the fix/user-input-transcribed-drop-item-id branch from b9524d7 to bd3484f Compare June 24, 2026 08:11
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.

UserInputTranscribedEvent drops item_id, making per-utterance dedup of interim transcripts impossible without provider-specific events

1 participant