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 }