Skip to content

Commit 244d0ff

Browse files
Update src/content/docs/workers-ai/features/batch-api/get-started.mdx
Co-authored-by: Kody Jackson <[email protected]>
1 parent 4b22ee5 commit 244d0ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

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

195195
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.
196196

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

0 commit comments

Comments
 (0)