Skip to content

fix: load partial transcription to trajectory in Live API ADK evaluation#5792

Open
wzhang2705 wants to merge 1 commit into
google:mainfrom
wzhang2705:load-partial-transcript-in-trajectory-live
Open

fix: load partial transcription to trajectory in Live API ADK evaluation#5792
wzhang2705 wants to merge 1 commit into
google:mainfrom
wzhang2705:load-partial-transcript-in-trajectory-live

Conversation

@wzhang2705
Copy link
Copy Markdown

@wzhang2705 wzhang2705 commented May 21, 2026

feat: Preserve transcription event order in conversation trajectory

  • Add agent_name parameter to _run_live_inference_loop
  • Yield synthetic text events inline when partial transcriptions arrive
  • Remove post-loop transcription accumulation logic

Testing Plan

Unit Tests:

  • Added test_generate_inferences_live_with_synthetic_events in test_evaluation_generator.py

@adk-bot adk-bot added eval [Component] This issue is related to evaluation live [Component] This issue is related to live, voice and video chat labels May 21, 2026
@adk-bot
Copy link
Copy Markdown
Collaborator

adk-bot commented May 21, 2026

Response from ADK Triaging Agent

Hello @wzhang2705, thank you for submitting this pull request!

To help us review your PR more efficiently, please ensure it complies with our contribution guidelines. Specifically, the following details are currently missing:

  • Associated Issue: If there is an existing issue related to this bug/feature, please associate it with this PR. If not, please create one or update the PR description to follow our issue templates.
  • Logs or Screenshots: Since this PR introduces a bug fix / feature, please provide logs, console output, or a screenshot showing the fix in action to help reviewers better understand the changes.
  • Summary of Passed Pytest Results: You've added unit tests, which is great! Please also run pytest and include a summary of the passed test results in your description.

Thank you for your contribution and for helping us maintain code quality!

@wzhang2705 wzhang2705 force-pushed the load-partial-transcript-in-trajectory-live branch from 1b52ac3 to 9566166 Compare May 21, 2026 20:28
@wzhang2705 wzhang2705 force-pushed the load-partial-transcript-in-trajectory-live branch from 9566166 to 26ccf73 Compare May 21, 2026 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

eval [Component] This issue is related to evaluation live [Component] This issue is related to live, voice and video chat

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants