[Bug]: OpenAI dictation waits several seconds after recording stops
Before submitting
- [x] Searched existing issues and pull requests; no matching OpenAI cloud dictation latency report found.
- [x] Included reproduction steps and timing evidence.
Area
apps/server
Steps to reproduce
- In Settings → Voice, select OpenAI cloud transcription with an API key.
- Dictate in the composer, then stop recording.
- Observe the delay before text appears.
Expected behavior
Process dictation during recording so stopping does not start the entire transcription workload.
Actual behavior
The OpenAI path buffers the whole recording, uploads a WAV after stopping, and waits for a complete JSON transcript. Three successful requests in this instance took 2.430, 2.835, and 5.331 seconds. These are T3 request durations, including upload/network/provider processing, not isolated OpenAI inference timings.
Source: CloudSpeech.ts.
Impact
Major degradation or frequent failure: repeated multi-second waits during dictation.
Version or commit
0.1.9-nightly.20261111.4515, installed commit 24e77473ecf4. Current main still uses the whole-recording OpenAI path.
Environment
macOS desktop, OpenAI API key, gpt-transcribe; observed November 12, 2026.
Thanks for writing this up. It asks for new behaviour rather than reporting a defect, so it does not belong in the bug tracker and I'm closing it as not planned here. Feature ideas are discussed in Discussions: please post it there.
thank you i will
thank you i will