fix(realtime): scope delayed audio guardrail interruption - #4135
Conversation
da670a8 to
b16e230
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: da670a82ee
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
b16e230 to
a5dfe8c
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a5dfe8c8da
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
This pull request fixes delayed Realtime audio output guardrails so they interrupt only the buffered playback produced by their source response, without cancelling or clearing a newer response.
#3933 originally combined three distinct Realtime changes:
That pull request was closed so the work could be reviewed and landed as three focused changes. #4124 delivered text-output guardrails, and #4130 delivered after-turn streaming cancellation. This pull request completes the third and final part.
The implementation:
RealtimeModelconstruction and positional dataclass behavior; andresponse_idandplayback_onlyto provide the same source-scoped behavior.