Skip to content

Change realtime example to GPT-Live - #102

Open
bcherry wants to merge 6 commits into
mainfrom
bcherry/practical-cerf-n6iafl
Open

bcherry wants to merge 6 commits into
mainfrom
bcherry/practical-cerf-n6iafl

Conversation

@bcherry

@bcherry bcherry commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Summary

Updated the documentation and code examples in the agent initialization to provide clearer guidance on using OpenAI's GPT-Live realtime model, including corrected import statements and more accurate terminology.

Key Changes

  • Clarified that the realtime model recommendation is specifically for OpenAI GPT-Live (speech-to-speech model)
  • Updated import statement from generic from livekit.plugins import openai to the specific from livekit.plugins.openai.realtime import GPTLiveModel
  • Corrected the model instantiation example from openai.realtime.RealtimeModel(voice="marin") to GPTLiveModel(voice="marin")
  • Improved comment wording from "RealtimeModel" to "realtime model" for consistency and clarity
  • Added clarification that GPT-Live is the "recommended speech-to-speech model"

Implementation Details

These changes are purely documentation improvements in the comments and example code within the agent initialization. They provide developers with more accurate and direct guidance for integrating OpenAI's realtime capabilities into their agents.

https://claude.ai/code/session_015wTPF2dbiDVMRwkQCpWr6o

claude and others added 4 commits September 18, 2026 16:05
The commented-out realtime instructions pointed at the OpenAI Realtime
API, which is no longer the speech-to-speech model LiveKit recommends
first.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015wTPF2dbiDVMRwkQCpWr6o
The template intentionally leaves uv.lock untracked so that each project
created from it commits its own; a local `uv run` regenerated the file
and it was picked up by the previous commit.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015wTPF2dbiDVMRwkQCpWr6o
Raise the floor from 1.6.9 to the current release so a new project from
this template starts on the SDK the docs describe.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015wTPF2dbiDVMRwkQCpWr6o
@bcherry
bcherry requested review from ShayneP and u9g September 18, 2026 20:50
@bcherry bcherry changed the title Update realtime model documentation and import examples Change realtime example to GPT-Live Sep 18, 2026
Use `~=1.8` rather than a `>=` floor, matching how the docs write every
install command and how the sibling plugin dependency is already pinned.
It also caps the range below 2.0, so a future major release can't be
picked up silently.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015wTPF2dbiDVMRwkQCpWr6o
State 0.3 outright rather than leaving `~=0.2` to float onto it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015wTPF2dbiDVMRwkQCpWr6o
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.

2 participants