Skip to content

Commit 707c17c

Browse files
Update src/content/docs/workers-ai/features/async-batch-api.mdx
Co-authored-by: Kody Jackson <[email protected]>
1 parent cbb0802 commit 707c17c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/workers-ai/features/async-batch-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ When the inference is complete, the API returns a final HTTP status code of `200
196196

197197
Below is a sample TypeScript Worker that receives a batch of inference requests, sends them to a batch-enabled AI model, and returns the results.
198198

199-
```ts
199+
```ts title="src/index.js"
200200
export interface Env {
201201
AI: {
202202
run: (model: string, payload: any, options: any) => Promise<any>;

0 commit comments

Comments
 (0)