mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-06 08:18:39 +00:00
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:
parent
e654ced135
commit
a648462989
1 changed files with 1 additions and 2 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue