You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add gpt-4o-realtime-preview and gpt-4o-mini-realtime-preview models
- Add dated variants: gpt-4o-realtime-preview-2024-12-17 and gpt-4o-mini-realtime-preview-2024-12-17
- Replace string-based modalities with type-safe Modality enum
- Update modalities parameter from [String] to [Modality]
- Update all usage examples and tests to use [.text, .audio] syntax
- Update AudioConversationManager to use new enum
- Update README documentation with Modality enum
Copy file name to clipboardExpand all lines: Sources/OpenAI/Public/Models/Models/Models.swift
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -117,13 +117,19 @@ public extension Model {
117
117
///
118
118
/// This is a preview release of the GPT-4o Realtime model, capable of responding to audio and text inputs in realtime over WebRTC or a WebSocket interface.
/// GPT-4o mini Realtime: Smaller realtime model for text and audio inputs and outputs
122
125
///
123
126
/// `gpt-4o-mini-realtime-preview`
124
127
///
125
128
/// This is a preview release of the GPT-4o-mini Realtime model, capable of responding to audio and text inputs in realtime over WebRTC or a WebSocket interface.
0 commit comments