Commit Graph
3 Commits
Author SHA1 Message Date
sudoeren c5a7fb2410 Document that the speech language is detected by default 2026-08-27 21:40:09 +03:00
sudoeren 7da871c567 Make auto the default speech language and carry what was detected through
New installs start detecting instead of being locked to one language; a stored
value from before this default still wins. The dictation chain asks
transcribe_detected() in auto mode, records the detected code in history as
speech_language, hands it to the cleanup prompt (a detected Turkish recording
gets the Turkish prompt and glossary rule), and reports it on the socket reply.
The stale comment claiming whisper.cpp's -l auto does not detect is corrected.
2026-08-27 21:40:09 +03:00
sudoeren 1bb5c9ebbc Ask whisper.cpp for the detected language when auto mode runs it
The spoken language is only knowable when the transcription model reports it,
and only whisper.cpp does: the hosted endpoints accept auto but never say what
they heard. transcribe_detected() asks for detection exactly where it can be
answered, the local server in auto mode, by requesting verbose_json with
no_language_probabilities switched back on for that one request (the server
runs with -nlp, which keeps the sweep off everything else).
2026-08-27 21:40:09 +03:00