From 94862b73f46794717a42f27d8c802d7e8e31fa4d Mon Sep 17 00:00:00 2001 From: Mohamed Boudra Date: Sat, 15 Nov 2025 19:46:37 +0100 Subject: [PATCH] Adjust AgentInput controls for send-only state --- .../app/src/components/agent-input-area.tsx | 27 +++++++++---------- plan.md | 3 ++- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/packages/app/src/components/agent-input-area.tsx b/packages/app/src/components/agent-input-area.tsx index 69cfc4a88..856863c6a 100644 --- a/packages/app/src/components/agent-input-area.tsx +++ b/packages/app/src/components/agent-input-area.tsx @@ -242,7 +242,7 @@ export function AgentInputArea({ agentId }: AgentInputAreaProps) { const hasImages = selectedImages.length > 0; const hasSendableContent = hasText || hasImages; const shouldShowSendButton = !isAgentRunning && hasSendableContent; - const shouldShowDictateButton = !isAgentRunning && !hasSendableContent; + const shouldShowVoiceControls = !isAgentRunning && !hasSendableContent; const overlayAnimatedStyle = useAnimatedStyle(() => { return { @@ -388,20 +388,17 @@ export function AgentInputArea({ agentId }: AgentInputAreaProps) { ) : shouldShowSendButton ? ( - <> - - - - {realtimeButton} - - ) : shouldShowDictateButton ? ( + + + + ) : shouldShowVoiceControls ? ( <>