mirror of
https://github.com/openai/codex.git
synced 2026-10-28 18:58:46 +00:00
## Why Legacy notifications only need user text, but retaining the full sampling input keeps image and audio payloads alive while the response streams. ## What changed Extract notification text from the first request attempt only when `notify` is configured, and retain those strings across retries. Consume and drop the prompt after setting up the response stream, excluding attachments and media wrapper labels from notification text. ## Testing Extend the notification integration test to verify that `input-messages` contains only user text while the model request still includes image and audio attachments. GitOrigin-RevId: af4653c0e7ac2bf7006f5ae5a82a3e724c30c734