Skip to content

Commit 6982f84

Browse files
committed
Fix new_task tool streaming by using correct ClineSayTool interface
- Changed 'message' property to 'content' in partial messages to match ClineSayTool interface - This fixes the UI freezing issue where partial messages weren't streaming properly - The 'message' property doesn't exist in ClineSayTool, causing the webview to not handle partial updates correctly - Now consistent with other tools like writeToFileTool that use the correct interface properties
1 parent 9faf28a commit 6982f84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/tools/newTaskTool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export async function newTaskTool(
2222
const partialMessage = JSON.stringify({
2323
tool: "newTask",
2424
mode: removeClosingTag("mode", mode),
25-
message: removeClosingTag("message", message),
25+
content: removeClosingTag("message", message),
2626
})
2727

2828
await cline.ask("tool", partialMessage, block.partial).catch(() => {})

0 commit comments

Comments
 (0)