Skip to content

Commit 122e1b0

Browse files
committed
updated
1 parent de37de0 commit 122e1b0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/basics/agent.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Use computer use agents with specialized models from OpenAI, Anthropic, or Googl
3636
```typescript TypeScript
3737
const agent = stagehand.agent({
3838
provider: "google",
39-
model: "gemini-2.5-computer-use-preview",
39+
model: "gemini-2.5-computer-use-preview-10-2025",
4040
instructions: "You are a helpful assistant that can use a web browser.",
4141
options: {
4242
apiKey: process.env.GOOGLE_API_KEY,
@@ -48,7 +48,7 @@ await agent.execute("apply for a job at Browserbase")
4848
```python Python
4949
agent = stagehand.agent({
5050
"provider": "google",
51-
"model": "gemini-2.5-computer-use-preview",
51+
"model": "gemini-2.5-computer-use-preview-10-2025",
5252
"instructions": "You are a helpful assistant that can use a web browser.",
5353
"options": {
5454
"apiKey": os.getenv("GOOGLE_API_KEY"),
@@ -78,7 +78,7 @@ Agents can be enhanced with external tools and services through MCP (Model Conte
7878
```typescript TypeScript (Pass URL)
7979
const agent = stagehand.agent({
8080
provider: "google",
81-
model: "gemini-2.5-computer-use-preview",
81+
model: "gemini-2.5-computer-use-preview-10-2025",
8282
integrations: [
8383
`https://mcp.exa.ai/mcp?exaApiKey=${process.env.EXA_API_KEY}`,
8484
],
@@ -100,7 +100,7 @@ const supabaseClient = await connectToMCPServer(
100100

101101
const agent = stagehand.agent({
102102
provider: "google",
103-
model: "gemini-2.5-computer-use-preview",
103+
model: "gemini-2.5-computer-use-preview-10-2025",
104104
integrations: [supabaseClient],
105105
instructions: `You can interact with Supabase databases. Use these tools to store and retrieve data.`,
106106
options: {
@@ -123,7 +123,7 @@ Stagehand uses a 1024x768 viewport by default (the optimal size for Computer Use
123123

124124
## Available Models
125125

126-
Use specialized computer use models (e.g., `gemini-2.5-computer-use-preview` from Google or `claude-sonnet-4-20250514` from Anthropic)
126+
Use specialized computer use models (e.g., `gemini-2.5-computer-use-preview-10-2025` from Google or `claude-sonnet-4-20250514` from Anthropic)
127127

128128
<Card title="Available Models" icon="robot" href="/configuration/models">
129129
Check out the guide on how to use different models with Stagehand.

docs/references/agent.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ agent = stagehand.agent({
6969

7070
**OpenAI:** `"computer-use-preview"`, `"gpt-4o"`
7171

72-
**Google:** `"gemini-2.5-computer-use-preview"`
72+
**Google:** `"gemini-2.5-computer-use-preview-10-2025"`
7373

7474
</ParamField>
7575

0 commit comments

Comments
 (0)