Skip to content
Merged

Act #17

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .fernignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@

src/scrapybara/client.py
src/scrapybara/anthropic/
src/scrapybara/tools/
src/scrapybara/types/act.py
tests/custom/test_client.py
.github/workflows/ci.yml
131 changes: 127 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "scrapybara"
version = "2.0.7"
version = "2.1.0"
description = ""
readme = "README.md"
authors = []
Expand Down Expand Up @@ -34,6 +34,7 @@ Repository = 'https://github.com/scrapybara/scrapybara-python'
python = "^3.8"
anthropic = "^0.39.0"
httpx = ">=0.21.2"
playwright = "^1.48.0"
pydantic = ">= 1.9.2"
pydantic-core = "^2.18.2"
typing_extensions = ">= 4.0.0"
Expand Down
171 changes: 0 additions & 171 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -761,177 +761,6 @@ client.instance.resume(
</dl>


</dd>
</dl>
</details>

## Agent
<details><summary><code>client.agent.<a href="src/scrapybara/agent/client.py">act</a>(...)</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```python
from scrapybara import Scrapybara

client = Scrapybara(
api_key="YOUR_API_KEY",
)
client.agent.act(
instance_id="instance_id",
cmd="cmd",
)

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**instance_id:** `str`

</dd>
</dl>

<dl>
<dd>

**cmd:** `str`

</dd>
</dl>

<dl>
<dd>

**include_screenshot:** `typing.Optional[bool]`

</dd>
</dl>

<dl>
<dd>

**model:** `typing.Optional[Model]`

</dd>
</dl>

<dl>
<dd>

**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.

</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.agent.<a href="src/scrapybara/agent/client.py">scrape</a>(...)</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```python
from scrapybara import Scrapybara

client = Scrapybara(
api_key="YOUR_API_KEY",
)
client.agent.scrape(
instance_id="instance_id",
cmd="cmd",
)

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**instance_id:** `str`

</dd>
</dl>

<dl>
<dd>

**cmd:** `str`

</dd>
</dl>

<dl>
<dd>

**schema:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]`

</dd>
</dl>

<dl>
<dd>

**include_screenshot:** `typing.Optional[bool]`

</dd>
</dl>

<dl>
<dd>

**model:** `typing.Optional[Model]`

</dd>
</dl>

<dl>
<dd>

**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.

</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>
Expand Down
Loading