Compare commits

...
Author SHA1 Message Date
arafatkatze c38cc068ca Fixing bug on accepting tool response 2025-07-05 23:50:40 -06:00
@@ -120,7 +120,14 @@ export function useMessageHandlers(messages: ClineMessage[], chatState: ChatStat
// If there's no input content, just approve the action
if (trimmedInput || (images && images.length > 0) || (files && files.length > 0)) {
// Send as a regular message so it appears in the conversation
await handleSendMessage(trimmedInput || "", images || [], files || [])
await TaskServiceClient.askResponse(
AskResponseRequest.create({
responseType: "yesButtonClicked",
text: trimmedInput,
images: images,
files: files,
}),
)
} else {
// No input content, just approve the action
await TaskServiceClient.askResponse(