Skip to content

Commit 6e79b7c

Browse files
feat: Improve Docs
1 parent 76f7597 commit 6e79b7c

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 26
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browser-use%2Fbrowser-use-3a9488448292a0736b08b2d6427e702eaf7106d86345ca2e65b64bed4398b036.yml
3-
openapi_spec_hash: 5ff2781dcc11a0c9aa353f5cb14bcc16
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browser-use%2Fbrowser-use-9f5ca0cd0a64c620cebceaebf7c6f8c3a917aa6fbc2ea6b9d2a6e3b9d17aaea4.yml
3+
openapi_spec_hash: 3d30ebd2ed6ab3a5b42b6b267a45d34f
44
config_hash: 9d52be5177b2ede4cb0633c04f4cc4ef

src/browser_use_sdk/resources/tasks.py

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ def create(
6969
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
7070
) -> TaskCreateResponse:
7171
"""
72-
Create and start a new AI agent task.
72+
Create and start a new Browser Use Agent task.
7373
7474
This is the main endpoint for running AI agents. You can either:
7575
76-
1. Start a new session with a new task
77-
2. Add a follow-up task to an existing session
76+
1. Start a new session with a new task.
77+
2. Add a follow-up task to an existing session.
7878
7979
When starting a new session:
8080
@@ -95,9 +95,8 @@ def create(
9595
- Browser profiles: Control browser settings and environment (only used for new
9696
sessions)
9797
- File uploads: Include documents for the agent to work with
98-
- Structured output: Define the format you want results in
99-
- Task metadata: Add custom data for tracking and organization (useful when
100-
using webhooks)
98+
- Structured output: Define the format of the task result
99+
- Task metadata: Add custom data for tracking and organization
101100
102101
Args:
103102
@@ -564,12 +563,12 @@ async def create(
564563
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
565564
) -> TaskCreateResponse:
566565
"""
567-
Create and start a new AI agent task.
566+
Create and start a new Browser Use Agent task.
568567
569568
This is the main endpoint for running AI agents. You can either:
570569
571-
1. Start a new session with a new task
572-
2. Add a follow-up task to an existing session
570+
1. Start a new session with a new task.
571+
2. Add a follow-up task to an existing session.
573572
574573
When starting a new session:
575574
@@ -590,9 +589,8 @@ async def create(
590589
- Browser profiles: Control browser settings and environment (only used for new
591590
sessions)
592591
- File uploads: Include documents for the agent to work with
593-
- Structured output: Define the format you want results in
594-
- Task metadata: Add custom data for tracking and organization (useful when
595-
using webhooks)
592+
- Structured output: Define the format of the task result
593+
- Task metadata: Add custom data for tracking and organization
596594
597595
Args:
598596

0 commit comments

Comments
 (0)