fix: formatting fix and fix #79

Improve Safari Permissions UX
This commit is contained in:
Abhishek Kumar 2026-01-12 12:47:32 +05:30
parent 97fbd9b37b
commit 11e033c72d
7 changed files with 78 additions and 18 deletions

View file

@ -138,6 +138,6 @@ class UserConfigurationValidator:
def _check_sarvam_api_key(self, model: str, api_key: str) -> bool:
return True
def _check_speechmatics_api_key(self, model: str, api_key: str) -> bool:
return True

View file

@ -408,7 +408,9 @@ SPEECHMATICS_STT_LANGUAGES = [
@register_stt
class SpeechmaticsSTTConfiguration(BaseSTTConfiguration):
provider: Literal[ServiceProviders.SPEECHMATICS] = ServiceProviders.SPEECHMATICS
model: str = Field(default="enhanced", description="Operating point: standard or enhanced")
model: str = Field(
default="enhanced", description="Operating point: standard or enhanced"
)
language: str = Field(
default="en", json_schema_extra={"examples": SPEECHMATICS_STT_LANGUAGES}
)

View file

@ -567,7 +567,7 @@ async def _run_pipeline(
# Now set the task on the engine
engine.set_task(task)
# Initialize the engine to set the initial context
await engine.initialize()