diff options
| author | soryu <soryu@soryu.co> | 2026-01-28 03:49:13 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-01-28 03:49:54 +0000 |
| commit | d0436686f047f1d82c30da26cf83f9eca6727292 (patch) | |
| tree | f4f7b6bc7c6cc410d90908d3adf7c519bdf6a2ad /apps/mobile/babel.config.js | |
| parent | c3de071511de5e8a8d63ea4ca47c815cb6450215 (diff) | |
| download | soryu-d0436686f047f1d82c30da26cf83f9eca6727292.tar.gz soryu-d0436686f047f1d82c30da26cf83f9eca6727292.zip | |
feat: add inference cancellation support for TTS generation
Add cooperative cancellation via Arc<AtomicBool> cancel flag that
threads through TtsEngine::generate -> Qwen3Tts -> GenerationContext.
The autoregressive loop and streaming decoder check the flag each
iteration and break early when set. The speak WebSocket handler
creates a per-session flag, passes it to generate, and sets it on
Cancel/Stop/Close messages.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'apps/mobile/babel.config.js')
0 files changed, 0 insertions, 0 deletions
