Skip to content

Commit 832e731

Browse files
committed
allow non Computer Use supported models to use browser
1 parent 829fe8f commit 832e731

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/core/prompts/tools/browser-action.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
import { ToolArgs } from "./types"
22

33
export function getBrowserActionDescription(args: ToolArgs): string | undefined {
4-
if (!args.supportsComputerUse) {
5-
return undefined
6-
}
74
return `## browser_action
85
Description: Request to interact with a Puppeteer-controlled browser. Every action, except \`close\`, will be responded to with a screenshot of the browser's current state, along with any new console logs. You may only perform one browser action per message, and wait for the user's response including a screenshot and logs to determine the next action.
96
- The sequence of actions **must always start with** launching the browser at a URL, and **must always end with** closing the browser. If you need to visit a new URL that is not possible to navigate to from the current webpage, you must first close the browser, then launch again at the new URL.

0 commit comments

Comments
 (0)