Skip to content

fix: place Gemini realtime user turns before replies - #6914

Open
chenghao-mou wants to merge 1 commit into
mainfrom
chenghao/fix/AGT-3186-gemini-transcript-timestamps
Open

fix: place Gemini realtime user turns before replies#6914
chenghao-mou wants to merge 1 commit into
mainfrom
chenghao/fix/AGT-3186-gemini-transcript-timestamps

Conversation

@chenghao-mou

@chenghao-mou chenghao-mou commented Aug 19, 2026

Copy link
Copy Markdown
Member

Gemini can deliver the final user transcript after its reply, which makes session reports show the answer before the question. Anchor interim and final transcript events to the response generation time so the user turn stays before the reply it prompted.

Addresses AGT-3186

Initial prompt and agent context

Model: GPT-5.6

I got a customer report that gemini realtime model gave misaligned (timestamp wise) transcript.

okay, can you open a PR?

@chenghao-mou
chenghao-mou requested a review from a team as a code owner August 19, 2026 17:15

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 new potential issue.

Open in Devin Review

Comment thread examples/voice_agents/basic_agent.py Outdated
@chenghao-mou
chenghao-mou force-pushed the chenghao/fix/AGT-3186-gemini-transcript-timestamps branch from 8fa8cde to 185e401 Compare August 19, 2026 17:49
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