From f98f87b7eef585d94d1b82b29f8c03f2aa7ba5f5 Mon Sep 17 00:00:00 2001 From: hobokenchicken Date: Thu, 4 Jun 2026 14:20:40 -0400 Subject: [PATCH] fix: swap to gpt-realtime-whisper for STT Replaces gpt-4o-mini-transcribe (/usr/bin/bash.003/min) with gpt-realtime-whisper (/usr/bin/bash.017/min). Expected to reduce transcription latency from ~2.6s to ~1s due to the model's realtime optimization. --- backend/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/main.py b/backend/main.py index b1d4d59..5d51419 100644 --- a/backend/main.py +++ b/backend/main.py @@ -85,7 +85,7 @@ async def transcribe_audio(audio_bytes: bytes) -> str | None: client = get_openai() try: transcript = await client.audio.transcriptions.create( - model="gpt-4o-mini-transcribe", + model="gpt-realtime-whisper", file=("audio.webm", audio_bytes, "audio/webm"), response_format="text", )