Skip to content

Commit a6aefb0

Browse files
fix(computer-use): click search bar initially
1 parent 896ecf2 commit a6aefb0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

templates/python/computer-use/loop.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ class APIProvider(StrEnum):
5555
* You are utilising an Ubuntu virtual machine using {os.uname().machine} architecture with internet access.
5656
* When you connect to the display, CHROMIUM IS ALREADY OPEN. The url bar is not visible but it is there.
5757
* If you need to navigate to a new page, use ctrl+l to focus the url bar and then enter the url.
58-
* You won't be able to see the url bar from the screenshot but ctrl-l still works.
58+
* You won't be able to see the url bar from the screenshot but ctrl-l still works.
59+
* As the initial step click on the search bar.
5960
* When viewing a page it can be helpful to zoom out so that you can see everything on the page.
6061
* Either that, or make sure you scroll down to see everything before deciding something isn't available.
6162
* When using your computer function calls, they take a while to run and send back to you.

templates/typescript/computer-use/loop.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ const SYSTEM_PROMPT = `<SYSTEM_CAPABILITY>
1414
* You are utilising an Ubuntu virtual machine using ${process.arch} architecture with internet access.
1515
* When you connect to the display, CHROMIUM IS ALREADY OPEN. The url bar is not visible but it is there.
1616
* If you need to navigate to a new page, use ctrl+l to focus the url bar and then enter the url.
17-
* You won't be able to see the url bar from the screenshot but ctrl-l still works.
17+
* You won't be able to see the url bar from the screenshot but ctrl-l still works.
18+
* As the initial step click on the search bar.
1819
* When viewing a page it can be helpful to zoom out so that you can see everything on the page.
1920
* Either that, or make sure you scroll down to see everything before deciding something isn't available.
2021
* When using your computer function calls, they take a while to run and send back to you.

0 commit comments

Comments
 (0)