Skip to content

Commit 12429c9

Browse files
feat: Improve Docs
1 parent 133c441 commit 12429c9

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
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/resources/tasks.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ import * as TasksAPI from './tasks';
1717

1818
export class Tasks extends APIResource {
1919
/**
20-
* Create and start a new AI agent task.
20+
* Create and start a new Browser Use Agent task.
2121
*
2222
* This is the main endpoint for running AI agents. You can either:
2323
*
24-
* 1. Start a new session with a new task
25-
* 2. Add a follow-up task to an existing session
24+
* 1. Start a new session with a new task.
25+
* 2. Add a follow-up task to an existing session.
2626
*
2727
* When starting a new session:
2828
*
@@ -43,9 +43,8 @@ export class Tasks extends APIResource {
4343
* - Browser profiles: Control browser settings and environment (only used for new
4444
* sessions)
4545
* - File uploads: Include documents for the agent to work with
46-
* - Structured output: Define the format you want results in
47-
* - Task metadata: Add custom data for tracking and organization (useful when
48-
* using webhooks)
46+
* - Structured output: Define the format of the task result
47+
* - Task metadata: Add custom data for tracking and organization
4948
*
5049
* Args:
5150
*

0 commit comments

Comments
 (0)