Skip to content

Commit 9fcd301

Browse files
committed
Allow queuing images
1 parent b9a280c commit 9fcd301

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

webview-ui/src/components/chat/ChatView.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -811,8 +811,7 @@ const ChatViewComponent: React.ForwardRefRenderFunction<ChatViewRef, ChatViewPro
811811

812812
const selectImages = useCallback(() => vscode.postMessage({ type: "selectImages" }), [])
813813

814-
const shouldDisableImages =
815-
!model?.supportsImages || sendingDisabled || selectedImages.length >= MAX_IMAGES_PER_MESSAGE
814+
const shouldDisableImages = !model?.supportsImages || selectedImages.length >= MAX_IMAGES_PER_MESSAGE
816815

817816
const handleMessage = useCallback(
818817
(e: MessageEvent) => {

0 commit comments

Comments
 (0)