Repository navigation
docs: Upgrade the GPT-Live demo to 1.1 - #6101
Conversation
Demonstrate speech-triggered standby with a 20-second idle timeout and hosted web search in managed Responses. Add a responsive conversation timeline, call controls, and optional event diagnostics.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
markstuart-oai
left a comment
There was a problem hiding this comment.
I’ve been checking the standby and resume flow, hosted search citations, and call cleanup against the Python SDK 3.57.0 contract. Hosted CI has been running.
codex://threads/01a1c7cc-3ae0-7900-8710-5a1fbeb062d5
jbeckwith-oai
left a comment
There was a problem hiding this comment.
Reviewed commit 7a2fbc3dae2ceae12b6e0e248bd6095df5add2cb: approved.
Reviewed the complete demo update with an independent reviewer: speech standby/resume state, WebRTC and sideband shutdown, stale-call callbacks and audio retry, function-result correlation and single continuation, hosted-search citation validation/rendering, bounded diagnostic redaction, responsive controls, and regression coverage. No actionable correctness or security findings.
Hosted CI at publication: 22 checks passed, two Windows test jobs remain running, and two readiness jobs were skipped. Static review only; no candidate code or local tests executed. Windows CI remains pending follow-up.
This pull request upgrades the local WebRTC example to
gpt-live-1.1and demonstrates how to combine speech-triggered Standby, multilingual conversation, an Agents SDK order specialist, and hosted Web Search. The walkthrough starts with a spelled-out order ID, lets the call enter Standby, and then corrects the last digit after speech resumes the same call.How the example works
wake_policy.type: speechandidle_timeout_s: 20. Audio travels directly between the browser and GPT-Live. The server uses the sideband connection to relay inference events, so the browser can show when Live is waiting for speech, Active, or in Standby while the call stays connected. Disconnect shows active and standby durations when Live reports both.gpt-5.6-lunabackend passes a self-contained request to the existing Agents SDK specialist. The server returns each completed function result under its original call ID and sends oneresponse.createcontinuation, giving Live the backend result to use in its spoken response.web_search. The sideband relay extracts citation titles and validated HTTP(S) URLs from completed response items. The browser displays them as clickable sources in the conversation timeline.Browser experience and diagnostics
The responsive UI shows the model ID, keeps Connect / Disconnect and microphone mute together, and puts example prompts next to the call controls. Assistant audio autoplays with a retry button available when the browser blocks playback. Transcripts, specialist activity, and search sources share a chronological timeline that follows new entries while the reader is near the bottom.
The optional Debug events panel opens beside the timeline on wide screens and below it on narrow screens. The bounded trace buffers events while hidden and retains the last call until the next connection. Browser and sideband timestamps, delegation and response IDs, and tool command IDs help trace result submission and continuation through pause and resume.