feat(api): use Tencent 16k_zh_large ASR and remove local Whisper

Standardize ASR on Tencent's dialect-capable engine across all environments,
drop faster-whisper from dependencies and deployment images, and add an
expo-sqlite iOS vendor sync plus pod install in prebuild to prevent native
build failures after npm install.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Kevin
2026-05-25 10:21:41 +08:00
parent 4f0a314656
commit 22d282dc01
23 changed files with 91 additions and 561 deletions

View File

@@ -1,5 +1,7 @@
"""Pydantic models for TOML-backed application configuration (non-secret SSOT)."""
from typing import Literal
from pydantic import BaseModel, ConfigDict, Field
@@ -201,11 +203,8 @@ class LlmConfig(BaseModel):
class AsrConfig(BaseModel):
model_config = ConfigDict(extra="forbid")
provider: str = "whisper"
model_size: str = "small"
device: str = "auto"
compute_type: str = "auto"
model_cache_dir: str = ""
provider: Literal["tencent"] = "tencent"
engine_type: Literal["16k_zh_large"] = "16k_zh_large"
class TtsConfig(BaseModel):