Aska
|
a0357a7bbd
|
feat(voice): real TTS fallback chain and whisper-compatible STT
- TTS providers: cloud (OpenAI-compatible /audio/speech, e.g. Bailian
compatible mode with cosyvoice), local self-hosted HTTP server,
edge-tts CLI, espeak CLI, silent — ordered by TTS_PROVIDER list,
skipping providers whose binary/config is missing
- STT: whisper-compatible /audio/transcriptions endpoint (cloud or
self-hosted faster-whisper), replacing the empty dashscope stub
- config: TTS_CLOUD_URL/KEY/MODEL/VOICE, TTS_LOCAL_URL, STT_API_URL/
KEY/MODEL; cloud keys fall back to DASHSCOPE_API_KEY
- gateway /voice/tts now returns real audio/mpeg bytes instead of a
byte count
- tests: cloud/local/whisper round-trips via httptest, chain skip
behavior, fallback order; kept and adapted prior service tests
|
2026-08-21 18:28:39 +08:00 |
|
Aska
|
7943e290ec
|
feat(internal): add foundational packages — config, logger, errors
- config: env-based loading with startup validation, 13 tests
- logger: structured slog wrapper with redaction, 10 tests
- errors: unified AppError model with HTTP mapping, 18 tests
- 41 tests total, build + vet clean
|
2026-08-09 20:35:42 +08:00 |
|
Aska
|
14d5d6e555
|
chore: init Cyrene_v2 project structure and DevDocs
- Create directory structure for backend, frontend, deployment, tests
- .gitignore with DevDocs/ excluded from version control
- DevDocs: 00-overview, 01-cross-platform, 02-dev-constraints
- DevDocs decisions: 002-communication (NATS), 003-plugin-architecture
- DevDocs modules: ai-core analysis, gateway analysis
|
2026-08-09 20:18:56 +08:00 |
|