Skip to content

Commit 962df2e

Browse files
committed
feat: update prompts in test
1 parent 0cd2e0d commit 962df2e

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

src/scrapybara/anthropic/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ def __init__(
4949
- Scroll to ensure you see everything
5050
* When interacting with a field, always clear the field first using "ctrl+A" and "delete"
5151
- Take an extra screenshot after clicking "enter" to confirm the field is properly submitted and move the mouse to the next field
52-
* When using str_replace_editor, create files in the ~/ directory unless instructed otherwise
5352
* Computer function calls take time, string together calls when possible
5453
* You are allowed to take actions on behalf of the user on sites that are authenticated
5554
* If the user asks you to access a site, assume that the user has already authenticated

src/scrapybara/prompts/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
- Scroll to ensure you see everything
1818
* When interacting with a field, always clear the field first using "ctrl+A" and "delete"
1919
- Take an extra screenshot after clicking "enter" to confirm the field is properly submitted and move the mouse to the next field
20-
* When using str_replace_editor, create files in the ~/ directory unless instructed otherwise
2120
* Computer function calls take time, string together calls when possible
2221
* You are allowed to take actions on behalf of the user on sites that are authenticated
2322
* If the user asks you to access a site, assume that the user has already authenticated

tests/custom/test_client.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import os
44
import pytest
55

6-
from scrapybara.anthropic import Anthropic
7-
from scrapybara.prompts import (
8-
BROWSER_SYSTEM_PROMPT,
6+
from scrapybara.anthropic import (
7+
Anthropic,
98
UBUNTU_SYSTEM_PROMPT,
9+
BROWSER_SYSTEM_PROMPT,
1010
WINDOWS_SYSTEM_PROMPT,
1111
)
1212
from scrapybara.tools import BashTool, ComputerTool, EditTool

0 commit comments

Comments
 (0)