Skip to content

Emit history updates for realtime transcript deltas#3159

Closed
mindbomber wants to merge 1 commit intoopenai:mainfrom
mindbomber:codex/realtime-transcript-history-updated
Closed

Emit history updates for realtime transcript deltas#3159
mindbomber wants to merge 1 commit intoopenai:mainfrom
mindbomber:codex/realtime-transcript-history-updated

Conversation

@mindbomber
Copy link
Copy Markdown
Contributor

Fixes #2940

Summary

  • Emit RealtimeHistoryUpdated after transcript_delta mutates realtime history.
  • Keep raw model event emission unchanged for lower-level streaming consumers.
  • Add regression coverage that verifies transcript deltas update assistant audio transcript history and emit the transformed history event.

Verification

  • PYTHONPATH=src python -m pytest tests/realtime/test_session.py -q -> 73 passed
  • python -m ruff check src/agents/realtime/session.py tests/realtime/test_session.py -> passed
  • git diff --check -> passed
  • AANA code-change guardrail -> pass / accept, AIx 1.0, no violations

@seratch seratch added the duplicate This issue or pull request already exists label May 6, 2026
@seratch
Copy link
Copy Markdown
Member

seratch commented May 6, 2026

duplicate with #3086

@seratch seratch closed this May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

duplicate This issue or pull request already exists feature:realtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RealtimeSession does not emit history_updated for transcript_delta

2 participants