Skip to content

Commit 7a3e4f6

Browse files
committed
Update Realtime Agent documents (ref #1646)
1 parent f37f70b commit 7a3e4f6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/realtime/guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Key differences from regular agents:
4848

4949
### Model settings
5050

51-
The session configuration allows you to control the underlying realtime model behavior. You can configure the model name (such as `gpt-4o-realtime-preview`), voice selection (alloy, echo, fable, onyx, nova, shimmer), and supported modalities (text and/or audio). Audio formats can be set for both input and output, with PCM16 being the default.
51+
The session configuration allows you to control the underlying realtime model behavior. You can configure the model name (such as `gpt-realtime`), voice selection (alloy, echo, fable, onyx, nova, shimmer), and supported modalities (text and/or audio). Audio formats can be set for both input and output, with PCM16 being the default.
5252

5353
### Audio configuration
5454

docs/realtime/quickstart.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ runner = RealtimeRunner(
4444
starting_agent=agent,
4545
config={
4646
"model_settings": {
47-
"model_name": "gpt-4o-realtime-preview",
47+
"model_name": "gpt-realtime",
4848
"voice": "alloy",
4949
"modalities": ["text", "audio"],
5050
}
@@ -95,7 +95,7 @@ async def main():
9595
starting_agent=agent,
9696
config={
9797
"model_settings": {
98-
"model_name": "gpt-4o-realtime-preview",
98+
"model_name": "gpt-realtime",
9999
"voice": "alloy",
100100
"modalities": ["text", "audio"],
101101
"input_audio_transcription": {
@@ -135,7 +135,7 @@ if __name__ == "__main__":
135135

136136
### Model settings
137137

138-
- `model_name`: Choose from available realtime models (e.g., `gpt-4o-realtime-preview`)
138+
- `model_name`: Choose from available realtime models (e.g., `gpt-realtime`)
139139
- `voice`: Select voice (`alloy`, `echo`, `fable`, `onyx`, `nova`, `shimmer`)
140140
- `modalities`: Enable text and/or audio (`["text", "audio"]`)
141141

0 commit comments

Comments
 (0)