Skip to content

docs: Upgrade the GPT-Live demo to 1.1 - #6101

Merged
seratch merged 1 commit into
mainfrom
feat/gpt-live-11-standby-demo
Nov 20, 2026
Merged

seratch merged 1 commit into
mainfrom
feat/gpt-live-11-standby-demo

Conversation

@seratch

@seratch seratch commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

This pull request upgrades the local WebRTC example to gpt-live-1.1 and 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

  • Live session and Standby. The server creates a WebRTC session with wake_policy.type: speech and idle_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.
  • Multilingual speech and order corrections. The Live prompt asks the model to use the caller's language, acknowledge naturally, and listen when interrupted. For a partial order ID correction, it uses the earlier ID when the reference is clear and asks for clarification when needed. The managed gpt-5.6-luna backend 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 one response.create continuation, giving Live the backend result to use in its spoken response.
  • Hosted Web Search. The managed Responses backend handles explicit search requests and questions that need current public information through 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.

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.
@seratch
seratch requested review from a team and rm-openai as code owners November 20, 2026 06:03
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T06:04:42.667102Z 7a2fbc3 PR opened
🔒 Security Review ✅ Completed 2026-11-20T06:05:16.383344Z 7a2fbc3 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

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 markstuart-oai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 jbeckwith-oai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@seratch
seratch added this pull request to the merge queue Nov 20, 2026
Merged via the queue into main with commit 6c4e4a2 Nov 20, 2026
28 checks passed
@seratch
seratch deleted the feat/gpt-live-11-standby-demo branch November 20, 2026 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants