fix: teamsbot audio STT - pass channels and skipFallbacks for known PCM16 format

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
patrick-motsch 2026-02-23 22:59:53 +01:00
parent 5713b5be3a
commit d020293f4b

View file

@ -417,6 +417,8 @@ class TeamsbotService:
audioContent=audioBytes,
language=self.config.language or "de-DE",
sampleRate=effectiveSampleRate,
channels=1,
skipFallbacks=True,
)
if sttResult and sttResult.get("success") and sttResult.get("text"):