Skip to content

Commit bf0bcec

Browse files
committed
make request a stub since we have directExec
1 parent 2e8f70c commit bf0bcec

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

apps/sim/tools/browser_use/run_task.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -262,20 +262,6 @@ export const runTaskTool: ToolConfig<BrowserUseRunTaskParams, BrowserUseRunTaskR
262262
'Content-Type': 'application/json',
263263
'X-Browser-Use-API-Key': params.apiKey,
264264
}),
265-
body: (params) => buildRequestBody(params),
266-
},
267-
268-
transformResponse: async (response: Response) => {
269-
const data = (await response.json()) as { id: string }
270-
return {
271-
success: true,
272-
output: {
273-
id: data.id,
274-
success: true,
275-
output: null,
276-
steps: [],
277-
},
278-
}
279265
},
280266

281267
directExecution: async (params: BrowserUseRunTaskParams): Promise<ToolResponse> => {

0 commit comments

Comments
 (0)