You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: A pending approval discards an ongoing dictation #39634
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
Start a turn with a supervised permission mode, so the agent asks for approval before a command.
While the agent works, start dictating a follow-up in the composer.
Keep talking until the agent asks for an approval.
Expected behavior
Dictation keeps recording. The composer stays editable while an approval is pending (its placeholder says "Send feedback to decline this request"), so dictated text should land in the draft like typed text.
Actual behavior
The recording stops the moment the approval appears, and everything said so far is discarded. Nothing is transcribed into the draft.
dictationDisabled in apps/web/src/components/chat/ChatComposer.tsx includes isComposerApprovalState. When disabled turns true, useEnvironmentSpeechInput calls session.cancel(), which drops the recording instead of finishing it.
Any client that uses the web composer (web app in any browser, or desktop). Not specific to macOS, the desktop shell, or a provider: the bug is in apps/web, so it reproduces in a plain browser with any provider that requests approvals.
Workaround
Approve or decline first, then dictate. Anything dictated before the approval appears is lost.
Activity