Skip to content

Commit b810920

Browse files
committed
Fix browserActionTool call site
1 parent 670f2a9 commit b810920

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/core/assistant-message/presentAssistantMessage.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -664,13 +664,14 @@ export async function presentAssistantMessage(cline: Task) {
664664
})
665665
break
666666
case "browser_action":
667-
await browserActionTool.handle(cline, block as ToolUse<"browser_action">, {
667+
await browserActionTool(
668+
cline,
669+
block as ToolUse<"browser_action">,
668670
askApproval,
669671
handleError,
670672
pushToolResult,
671673
removeClosingTag,
672-
toolProtocol,
673-
})
674+
)
674675
break
675676
case "execute_command":
676677
await executeCommandTool.handle(cline, block as ToolUse<"execute_command">, {

0 commit comments

Comments
 (0)