Files
LocalAI/core/http
Ettore Di Giacinto 44f2e60b7a fix(realtime): keep transcription model on a language-only session.update
A transcription session.update that carries only a language (no model) —
e.g. a client forcing the STT input language — has an empty
Transcription.Model. updateSession unconditionally copied that into
session.ModelConfig.Pipeline.Transcription, blanking the pipeline's
configured transcription backend. The next utterance then transcribed
against an empty model and the backend RPC failed with "unimplemented"
(surfaced to the client as transcription_failed), so transcription
silently stopped whenever a language was selected.

Only adopt the incoming transcription model when it is non-empty, and
preserve the existing model otherwise (mirroring updateTransSession).

Signed-off-by: mudler <mudler@localai.io>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-12 22:57:55 +00:00
..
2026-03-30 00:47:27 +02:00