mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix: allow image pasting while task is active
- Removed sendingDisabled from shouldDisableImages condition - Users can now paste images into the chatbox even when a task is running - This improves UX by allowing image context to be added during task execution
This commit is contained in:
parent
e654ced135
commit
472cf41325
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