mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
- Write cached audio to a temp file and rename it into place so a concurrent read never sees a partial or interleaved file. - Share one upstream synthesis call per text and cache key, so concurrent requests no longer produce different recordings that race on the same file. - Return the same upstream error to every waiter.