Update OpenAIRealtimeBetaLLMService model to gpt-4o-realtime-preview-2025-06-03

This commit is contained in:
Mark Backman
2025-06-21 09:32:18 -04:00
parent 4e11497a38
commit d00a91074e
2 changed files with 4 additions and 1 deletions

View File

@@ -37,6 +37,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Updated `OpenAIRealtimeBetaLLMService` to accept `language` in the - Updated `OpenAIRealtimeBetaLLMService` to accept `language` in the
`InputAudioTranscription` class for all models. `InputAudioTranscription` class for all models.
- Updated the default model for `OpenAIRealtimeBetaLLMService` to
`gpt-4o-realtime-preview-2025-06-03`.
- The `PipelineParams` arg `allow_interruptions` now defaults to `True`. - The `PipelineParams` arg `allow_interruptions` now defaults to `True`.
- `TavusTransport` and `TavusVideoService` now send audio to Tavus using WebRTC - `TavusTransport` and `TavusVideoService` now send audio to Tavus using WebRTC

View File

@@ -86,7 +86,7 @@ class OpenAIRealtimeBetaLLMService(LLMService):
self, self,
*, *,
api_key: str, api_key: str,
model: str = "gpt-4o-realtime-preview-2024-12-17", model: str = "gpt-4o-realtime-preview-2025-06-03",
base_url: str = "wss://api.openai.com/v1/realtime", base_url: str = "wss://api.openai.com/v1/realtime",
session_properties: Optional[events.SessionProperties] = None, session_properties: Optional[events.SessionProperties] = None,
start_audio_paused: bool = False, start_audio_paused: bool = False,