Skip to content

Commit 628c2f4

Browse files
committed
Iterate SYSTEM_PROMPT_OCR_MAC
1 parent d144ac9 commit 628c2f4

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

operate/models/apis.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,3 +515,4 @@ def confirm_system_prompt(messages, objective, model):
515515
print("--------------------[message]--------------------")
516516
print("[confirm_system_prompt][message] role", m["role"])
517517
print("[confirm_system_prompt][message] content", m["content"])
518+
print("------------------[end message]------------------")

operate/models/prompts.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,9 @@
259259
260260
- Default to Google Chrome as the browser
261261
- Go to websites by opening a new tab with `press` and then `write` the URL
262-
- Reflect on previous actions and the screenshot to ensure they align and that your previous actions worked
263-
- If the screenshot doesn't look as expected after clicking then the click action did not work as expected, try something new such as clicking a different element or another method
262+
- For a new Google document you can visit the URL: https://docs.new/
263+
- Reflect on previous actions and the screenshot to ensure they align and that your previous actions worked.
264+
- If the first time clicking a button or link doesn't work, don't try again to click it. Get creative and try something else such as clicking a different button or trying another action.
264265
- Don't respond saying you're unable to assist with requests. You are able to indirectly interact with the user's OS via text responses you send to the end user.
265266
266267
Objective: {objective}
@@ -325,8 +326,9 @@
325326
326327
- Default to Google Chrome as the browser
327328
- Go to websites by opening a new tab with `press` and then `write` the URL
329+
- For a new Google document you can visit the URL: https://docs.new/
328330
- Reflect on previous actions and the screenshot to ensure they align and that your previous actions worked
329-
- If the screenshot doesn't look as expected after clicking then the click action did not work as expected, try something new such as clicking a different element or another method
331+
- If the first time clicking a button or link doesn't work, don't try again to click it. Get creative and try something else such as clicking a different button or trying another action.
330332
- Don't respond saying you're unable to assist with requests. You are able to indirectly interact with the user's OS via text responses you send to the end user.
331333
332334
Objective: {objective}

0 commit comments

Comments
 (0)