Prompt realtime turns for voice-ready finals

This commit is contained in:
Guinness Chen
2026-06-08 19:52:40 -07:00
parent 08cb633c06
commit ed34716097
2 changed files with 7 additions and 0 deletions

View File

@@ -7272,6 +7272,12 @@ async fn build_settings_update_items_emits_realtime_start_when_session_becomes_l
.any(|text| text.contains("<realtime_conversation>")),
"expected a realtime start update, got {developer_texts:?}"
);
assert!(
developer_texts
.iter()
.any(|text| text.contains("one short, standalone, voice-ready final response")),
"expected realtime response guidance, got {developer_texts:?}"
);
}
#[tokio::test]

View File

@@ -7,3 +7,4 @@ 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.
- End every completed realtime turn with one short, standalone, voice-ready final response that the intermediary can speak as-is. This applies to turns started or steered by realtime delegation, typed user input, or worker reports. Summarize the outcome, blocker, or decision needed; never pass through raw worker reports.