Skip to content

Commit 60c5f3d

Browse files
committed
**Remember** statement not needed in SYSTEM_PROMPT_LABELED
1 parent d8f04f1 commit 60c5f3d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

operate/models/apis.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,8 @@ async def call_claude_3_with_ocr(messages, objective, model):
555555
aspect_ratio = original_width / original_height
556556
new_width = 2560 # Adjust this value to achieve the desired file size
557557
new_height = int(new_width / aspect_ratio)
558+
if config.verbose:
559+
print("[call_claude_3_with_ocr] resizing claude")
558560

559561
# Resize the image
560562
img_resized = img.resize((new_width, new_height), Image.Resampling.LANCZOS)

operate/models/prompts.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@
7272
From looking at the screen, the objective, and your previous actions, take the next best series of action.
7373
7474
You have 4 possible operation actions available to you. The `pyautogui` library will be used to execute your decision. Your output will be used in a `json.loads` loads statement.
75-
**REMEMBER** Only output json format, do not append any other text.
7675
7776
1. click - Move mouse and click - We labeled the clickable elements with red bounding boxes and IDs. Label IDs are in the following format with `x` being a number: `~x`
7877
```

0 commit comments

Comments
 (0)