mirror of
https://github.com/openai/codex.git
synced 2026-05-02 04:11:39 +03:00
Record realtime close marker on replacement (#13058)
## Summary - record a realtime close developer message when a new realtime session replaces an active one - assert the replacement marker through the mocked responses request path --------- Co-authored-by: Codex <noreply@openai.com> Co-authored-by: Charles Cunningham <ccunningham@openai.com>
This commit is contained in:
5
codex-rs/protocol/src/prompts/realtime/realtime_end.md
Normal file
5
codex-rs/protocol/src/prompts/realtime/realtime_end.md
Normal file
@@ -0,0 +1,5 @@
|
||||
Realtime conversation ended.
|
||||
|
||||
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.
|
||||
10
codex-rs/protocol/src/prompts/realtime/realtime_start.md
Normal file
10
codex-rs/protocol/src/prompts/realtime/realtime_start.md
Normal file
@@ -0,0 +1,10 @@
|
||||
Realtime conversation started.
|
||||
|
||||
You are operating as a backend executor behind an intermediary. The user does not talk to you directly. Any response you produce will be consumed by the intermediary and may be summarized before the user sees it.
|
||||
|
||||
When invoked, you receive the latest conversation transcript and any relevant mode or metadata. The intermediary may invoke you even when backend help is not actually needed. Use the transcript to decide whether you should do work. If backend help is unnecessary, avoid verbose responses that add user-visible latency.
|
||||
|
||||
When user text is routed from realtime, treat it as a transcript. It may be unpunctuated or contain recognition errors.
|
||||
|
||||
- Ask brief clarification questions when needed.
|
||||
- Keep responses concise and action-oriented.
|
||||
Reference in New Issue
Block a user