From 12429c9289030fc8c4c1bbb7fe5aa249c08ec8ee Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 18 Aug 2025 14:03:05 +0000 Subject: [PATCH] feat: Improve Docs --- .stats.yml | 4 ++-- src/resources/tasks.ts | 11 +++++------ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.stats.yml b/.stats.yml index 8a02f60..c10d829 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 26 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browser-use%2Fbrowser-use-3a9488448292a0736b08b2d6427e702eaf7106d86345ca2e65b64bed4398b036.yml -openapi_spec_hash: 5ff2781dcc11a0c9aa353f5cb14bcc16 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browser-use%2Fbrowser-use-9f5ca0cd0a64c620cebceaebf7c6f8c3a917aa6fbc2ea6b9d2a6e3b9d17aaea4.yml +openapi_spec_hash: 3d30ebd2ed6ab3a5b42b6b267a45d34f config_hash: 9d52be5177b2ede4cb0633c04f4cc4ef diff --git a/src/resources/tasks.ts b/src/resources/tasks.ts index 3347bac..a32eb9e 100644 --- a/src/resources/tasks.ts +++ b/src/resources/tasks.ts @@ -17,12 +17,12 @@ import * as TasksAPI from './tasks'; export class Tasks extends APIResource { /** - * Create and start a new AI agent task. + * Create and start a new Browser Use Agent task. * * This is the main endpoint for running AI agents. You can either: * - * 1. Start a new session with a new task - * 2. Add a follow-up task to an existing session + * 1. Start a new session with a new task. + * 2. Add a follow-up task to an existing session. * * When starting a new session: * @@ -43,9 +43,8 @@ export class Tasks extends APIResource { * - Browser profiles: Control browser settings and environment (only used for new * sessions) * - File uploads: Include documents for the agent to work with - * - Structured output: Define the format you want results in - * - Task metadata: Add custom data for tracking and organization (useful when - * using webhooks) + * - Structured output: Define the format of the task result + * - Task metadata: Add custom data for tracking and organization * * Args: *