feat(transcription): add language parameter for Groq Whisper STT

This commit is contained in:
flobo3
2026-04-22 12:41:32 +08:00
committed by Xubin Ren
parent f5b8ee9f78
commit 1826ab44fa
4 changed files with 8 additions and 1 deletions
+1
View File
@@ -88,6 +88,7 @@ class ChannelManager:
channel.transcription_provider = transcription_provider
channel.transcription_api_key = transcription_key
channel.transcription_api_base = transcription_base
channel.transcription_language = getattr(self.config.channels, "transcription_language", "")
self.channels[name] = channel
logger.info("{} channel enabled", cls.display_name)
except Exception as e: