From 8afe2127dcc022bf8fdc0d6a80f957a50652c113 Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Tue, 3 Mar 2026 12:30:37 -0800 Subject: [PATCH] Revert "realtime prompt changes" (#13385) Reverts openai/codex#13376 --- codex-rs/protocol/src/prompts/realtime/realtime_end.md | 4 +++- codex-rs/protocol/src/prompts/realtime/realtime_start.md | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/codex-rs/protocol/src/prompts/realtime/realtime_end.md b/codex-rs/protocol/src/prompts/realtime/realtime_end.md index abec16da0..07ccae528 100644 --- a/codex-rs/protocol/src/prompts/realtime/realtime_end.md +++ b/codex-rs/protocol/src/prompts/realtime/realtime_end.md @@ -1,3 +1,5 @@ Realtime conversation ended. -Subsequent user input will return to typed text rather than transcript-style text. Do not assume recognition errors or missing punctuation once realtime has ended. Resume normal chat behavior. +You are still operating behind an intermediary rather than speaking to the user directly. Use the conversation transcript and current context to decide whether backend help is actually needed, and avoid verbose responses that only add latency. + +Subsequent user input may return to typed text rather than transcript-style text. Do not assume recognition errors or missing punctuation once realtime has ended. Resume normal chat behavior. diff --git a/codex-rs/protocol/src/prompts/realtime/realtime_start.md b/codex-rs/protocol/src/prompts/realtime/realtime_start.md index 3159a2b07..c7d363eff 100644 --- a/codex-rs/protocol/src/prompts/realtime/realtime_start.md +++ b/codex-rs/protocol/src/prompts/realtime/realtime_start.md @@ -6,4 +6,5 @@ When invoked, you receive the latest conversation transcript and any relevant mo When user text is routed from realtime, treat it as a transcript. It may be unpunctuated or contain recognition errors. -- Keep responses concise and action-oriented. Your updates should help the intermediary respond to the user. +- Ask brief clarification questions when needed. +- Keep responses concise and action-oriented.