Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Studio: keep timestamps off for every GPT transcription model on a connection (#15437)
Daniel Han07efd160522c
diff --git a/studio/frontend/src/features/audio/transcribe-capabilities.ts b/studio/frontend/src/features/audio/transcribe-capabilities.tsindex bdbd24a90a3..c2e01af1b22 100644--- a/studio/frontend/src/features/audio/transcribe-capabilities.ts+++ b/studio/frontend/src/features/audio/transcribe-capabilities.ts@@ -103,16 +103,15 @@ export function connectionTranscribeModels(return [...new Set(ids)].filter((id) => !allowed || allowed.has(id));}-const OPENAI_UNTIMED_MODELS = new Set([- "gpt-4o-transcribe",- "gpt-4o-mini-transcribe",-]);+// OpenAI takes timestamp_granularities from whisper-1 only, so every GPT transcription model is untimed:+// the aliases, their dated snapshots (gpt-4o-mini-transcribe-2025-12-15), gpt-transcribe and -diarize.+const OPENAI_UNTIMED_MODEL = /^gpt-(?:[\w.]+-)*transcribe(?:-[\w-]+)?$/i;export function connectionTranscribeSwitches(prefs: { timestamps: boolean },model: string,): TranscribeSwitches {- const untimed = OPENAI_UNTIMED_MODELS.has(model);+ const untimed = OPENAI_UNTIMED_MODEL.test(model);return {timestamps: untimed? {diff --git a/studio/frontend/tests/transcribe-capabilities.test.ts b/studio/frontend/tests/transcribe-capabilities.test.tsindex 40352b2a3a3..49f2d11bfc5 100644--- a/studio/frontend/tests/transcribe-capabilities.test.ts+++ b/studio/frontend/tests/transcribe-capabilities.test.ts@@ -161,6 +161,23 @@ test("OpenAI's gpt-4o transcribe models never ask for timestamps", () => {}});+test("dated and newer GPT transcription models never ask for timestamps either", () => {+ for (const model of [+ "gpt-4o-mini-transcribe-2025-12-15",+ "gpt-4o-mini-transcribe-2025-03-20",+ "gpt-4o-transcribe-2025-03-20",+ "gpt-transcribe",+ "gpt-4o-transcribe-diarize",+ ]) {+ const result = connectionTranscribeSwitches({ timestamps: true }, model);+ assert.equal(result.timestamps.disabled, true, model);+ assert.equal(result.request.timestamps, false, model);+ }+ for (const model of ["whisper-1", "whisper-large-v3", "parakeet-tdt", "my-gpt-transcriber"]) {+ assert.equal(connectionTranscribeSwitches({ timestamps: true }, model).request.timestamps, true, model);+ }+});+test("an owner-shared connection lists only the models the owner allowed", () => {const shared = { providerType: "openai", models: ["gpt-5.5", "whisper-1"], sharedByOwner: true };assert.deepEqual(connectionTranscribeModels(shared, "gpt-4o-transcribe"), ["whisper-1"]);