From 3ea644043146dd7d4a92e13e4a5b9d2990774a45 Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Sat, 29 Mar 2025 01:02:06 -0400 Subject: [PATCH] Add missing awaits on refactored tools --- src/core/Cline.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/Cline.ts b/src/core/Cline.ts index 947cef016d..b83a7157cf 100644 --- a/src/core/Cline.ts +++ b/src/core/Cline.ts @@ -2255,12 +2255,12 @@ export class Cline extends EventEmitter { } case "read_file": { - readFileTool(this, block, askApproval, handleError, pushToolResult, removeClosingTag) + await readFileTool(this, block, askApproval, handleError, pushToolResult, removeClosingTag) break } case "fetch_instructions": { - fetchInstructionsTool(this, block, askApproval, handleError, pushToolResult) + await fetchInstructionsTool(this, block, askApproval, handleError, pushToolResult) break }