From a648462989f55550421ae09e3c6c7411c13e1307 Mon Sep 17 00:00:00 2001 From: Roo Code Date: Wed, 30 Jul 2025 00:40:39 +0000 Subject: [PATCH] fix: allow image pasting when AI is busy - Remove sendingDisabled from shouldDisableImages logic in ChatView.tsx - Images can now be pasted and queued when AI is processing, consistent with text message queueing behavior - Fixes issue where image paste was blocked during AI processing while text could still be typed and queued Fixes #6395 --- webview-ui/src/components/chat/ChatView.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/webview-ui/src/components/chat/ChatView.tsx b/webview-ui/src/components/chat/ChatView.tsx index c1ba4e65c9..46790b41ef 100644 --- a/webview-ui/src/components/chat/ChatView.tsx +++ b/webview-ui/src/components/chat/ChatView.tsx @@ -811,8 +811,7 @@ const ChatViewComponent: React.ForwardRefRenderFunction vscode.postMessage({ type: "selectImages" }), []) - const shouldDisableImages = - !model?.supportsImages || sendingDisabled || selectedImages.length >= MAX_IMAGES_PER_MESSAGE + const shouldDisableImages = !model?.supportsImages || selectedImages.length >= MAX_IMAGES_PER_MESSAGE const handleMessage = useCallback( (e: MessageEvent) => {