|
|
@@ -1912,7 +1912,7 @@ const ChatViewComponent: React.ForwardRefRenderFunction<ChatViewRef, ChatViewPro
|
|
|
appearance="primary"
|
|
|
disabled={!enableButtons}
|
|
|
className={secondaryButtonText ? "flex-1 mr-[6px]" : "flex-[2] mr-0"}
|
|
|
- onClick={() => handlePrimaryButtonClick()}>
|
|
|
+ onClick={() => handlePrimaryButtonClick(inputValue, selectedImages)}>
|
|
|
{primaryButtonText}
|
|
|
</VSCodeButton>
|
|
|
</StandardTooltip>
|
|
|
@@ -1934,7 +1934,7 @@ const ChatViewComponent: React.ForwardRefRenderFunction<ChatViewRef, ChatViewPro
|
|
|
appearance="secondary"
|
|
|
disabled={!enableButtons && !(isStreaming && !didClickCancel)}
|
|
|
className={isStreaming ? "flex-[2] ml-0" : "flex-1 ml-[6px]"}
|
|
|
- onClick={() => handleSecondaryButtonClick()}>
|
|
|
+ onClick={() => handleSecondaryButtonClick(inputValue, selectedImages)}>
|
|
|
{isStreaming ? t("chat:cancel.title") : secondaryButtonText}
|
|
|
</VSCodeButton>
|
|
|
</StandardTooltip>
|