Skip to content

Commit 2785778

Browse files
vicbToriLindsay
andauthored
The code snippet requires Zod v3 (#25651)
Co-authored-by: ToriLindsay <[email protected]>
1 parent 3dff026 commit 2785778

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/content/docs/browser-rendering/platform/stagehand.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This guide shows you how to deploy a [Worker](/workers/) that uses Stagehand, Br
2323
## Use Stagehand in a Worker with Workers AI
2424

2525
In this example, you will use Stagehand to search for a movie on this [example movie directory](https://demo.playwright.dev/movies), extract its details (title, year, rating, duration, and genre), and return the information along with a screenshot of the webpage.
26-
<Details header="See a video of this example"> ![Stagehand video](/images/browser-rendering/speedystagehand.gif)
26+
<Details header="See a video of this example"> ![Stagehand video](/images/browser-rendering/speedystagehand.gif)
2727
Output: ![Stagehand example result](~/assets/images/browser-rendering/stagehand-example.png)</Details>
2828

2929
If instead you want to skip the steps and get started right away, select **Deploy to Cloudflare** below.
@@ -148,6 +148,10 @@ Then, in your Worker code, import the `workersAIClient.ts` file and use it to co
148148
};
149149
```
150150

151+
:::note
152+
The snippet above requires [Zod v3](https://v3.zod.dev/) and is currently not compatible with Zod v4.
153+
:::
154+
151155
### 4. Build the project
152156

153157
```bash

0 commit comments

Comments
 (0)