fix: Speaches STT service wiring

* Fix Speaches STT service wiring

* chore: bump pipecat submodule

---------

Co-authored-by: drascom <drascom@drascoms-MacBook-Pro.local>
Co-authored-by: Abhishek Kumar <abhishek@a6k.me>
This commit is contained in:
drascom 2026-04-06 09:41:58 +01:00 committed by GitHub
parent ec2f322486
commit 95d6dd44ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 31 additions and 6 deletions

View file

@ -145,12 +145,9 @@ def create_stt_service(
sample_rate=audio_config.transport_in_sample_rate,
)
elif user_config.stt.provider == ServiceProviders.SPEACHES.value:
base_url = user_config.stt.base_url.replace("http://", "ws://").replace(
"https://", "wss://"
)
language = getattr(user_config.stt, "language", None) or "multi"
language = getattr(user_config.stt, "language", None)
return SpeachesSTTService(
base_url=base_url,
base_url=user_config.stt.base_url,
api_key=user_config.stt.api_key or "none",
settings=SpeachesSTTSettings(
model=user_config.stt.model,