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
This commit is contained in:
Roo Code 2025-07-30 00:40:39 +00:00
parent e654ced135
commit a648462989

View file

@ -811,8 +811,7 @@ const ChatViewComponent: React.ForwardRefRenderFunction<ChatViewRef, ChatViewPro
const selectImages = useCallback(() => 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) => {