legco_ai_assistant/backend/app/routers
Woody cd125d8535 feat: add OpenRouter realtime ASR via chunked REST WebSocket
Add _ws_proxy_openrouter() handler with pcm_to_wav() converter, 3s chunk accumulation, flush_lock concurrency guard, and endpoint dispatch on ASR_PROVIDER. Language code yue filtered for OpenRouter (ISO 639-3 not supported).

Ultraworked with Sisyphus

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-19 13:33:52 +08:00
..
__init__.py feat: Phase 1.1 project setup with config, database, and models 2026-04-22 16:13:52 +08:00
chunks.py fix: vLLM highlight batch failure — replace guided_json with response_format + add debug logging 2026-05-15 11:08:36 +08:00
documents.py fix: Q\&A chunking always fell back to token — LLM never called, missing API fields 2026-05-15 14:46:45 +08:00
history.py feat(history): Phase 3.5 — Query History backend (service, API, timing, XML capture) 2026-04-25 22:59:53 +08:00
ingest.py fix: Q\&A chunking always fell back to token — LLM never called, missing API fields 2026-05-15 14:46:45 +08:00
prompts.py feat: configurable SubQuestions via Step 1.2 system prompt page 2026-05-04 17:22:14 +08:00
query.py feat: Phase 3 — Half Question button, Final Submit rename, ASR text always black 2026-05-14 21:27:21 +08:00
video.py refactor: make ASR client and video router provider-aware 2026-05-19 09:48:12 +08:00
ws_asr.py feat: add OpenRouter realtime ASR via chunked REST WebSocket 2026-05-19 13:33:52 +08:00