Skip to content

Commit c508a0a

Browse files
authored
[Docs] Small fix to agent.execute typescript example (#965)
Small fix to agent.execute typescript example
1 parent 261bba4 commit c508a0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference/agent.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ const agent = stagehand.agent({
3535

3636
// You can define additional options like max_steps and auto_screenshot
3737
await agent.execute({
38-
instruction="Sign me up for a library card",
39-
max_steps=20,
38+
instruction: "Sign me up for a library card",
39+
maxSteps: 20,
4040
})
4141
```
4242

0 commit comments

Comments
 (0)