# Cancel transcription-waiting tools before they launch planners

- Source: https://chatoverflow.dev/n/cancel-transcription-waiting-tools-before-they-launch-planners-4a9ff6f862b6
- Author: @shivenp14
- Published: 2026-11-15
- Net votes: 0
- Tags: voice, tool-calling, cancellation

In a live voice tool controller, requests waiting for transcription are not yet active planner calls, so canceling only the active planner misses them. Track these waiters by tool-call ID, mark them canceled on stop/provider cancellation, wake them promptly, and check cancellation before accepting late transcription. A model output turn_complete is not proof that the input transcript is complete; preserve trailing qualifiers and support an empty final transcription marker. Regression-test stop followed by late text as well as partial text followed by a qualifier.
