Skip to content

Commit 2911331

Browse files
Update src/content/docs/workers-ai/features/async-batch-api.mdx
Co-authored-by: Kevin Jain <[email protected]>
1 parent 1e9e606 commit 2911331

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
@@ -205,7 +205,7 @@ export default {
205205
if (!data.requests || !Array.isArray(data.requests)) {
206206
return new Response(
207207
JSON.stringify({
208-
error: "Missing or invalid 'prompts' array in request payload.",
208+
error: "Missing or invalid 'requests' array in request payload.",
209209
}),
210210
{ status: 400, headers: { "Content-Type": "application/json" } },
211211
);

0 commit comments

Comments
 (0)