Skip to content

Commit

Permalink
rename computer_web
Browse files Browse the repository at this point in the history
  • Loading branch information
veasion committed Dec 22, 2024
1 parent 7146783 commit 5a30b0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/background/test_llm_computer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export async function testWebSearchWithComputer() {
tools: [
new tools.TabManagement() as ToolDefinition,
new tools.OpenUrl() as ToolDefinition,
new tools.ComputerWeb() as ToolDefinition,
new tools.BrowserUse() as ToolDefinition,
new tools.ExportFile() as ToolDefinition,
new tools.ExtractContent() as ToolDefinition,
],
Expand Down
2 changes: 1 addition & 1 deletion src/background/test_tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ async function computerWeb(
) {
let tabId = await utils.getCurrentTabId();
context.variables.set("tabId", tabId);
let computer = new tools.ComputerWeb();
let computer = new tools.BrowserUse();
let result = await computer.execute(context, { action, coordinate, text });
console.log("result: ", result);
return result;
Expand Down

0 comments on commit 5a30b0f

Please sign in to comment.