add gpt-4o-realtime-preview model to openai provider

This commit is contained in:
leonardotrapani
2026-02-01 01:51:00 +01:00
parent 192a372718
commit 917eeed978
4 changed files with 59 additions and 5 deletions
+11
View File
@@ -63,6 +63,17 @@ func (p *OpenAIProvider) Models() []Model {
SupportedLanguages: allLangs,
Endpoint: &EndpointConfig{BaseURL: "https://api.openai.com", Path: "/v1/audio/transcriptions"},
},
{
ID: "gpt-4o-realtime-preview",
Name: "GPT-4o Realtime",
Description: "Real-time streaming transcription with GPT-4o",
Type: Transcription,
Streaming: true,
Local: false,
AdapterType: "openai-realtime",
SupportedLanguages: allLangs,
Endpoint: &EndpointConfig{BaseURL: "wss://api.openai.com", Path: "/v1/realtime"},
},
// LLM models
{
ID: "gpt-4o-mini",