We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8435e21 commit 1e9e606Copy full SHA for 1e9e606
src/content/docs/workers-ai/features/async-batch-api.mdx
@@ -201,7 +201,7 @@ export default {
201
// Parse the incoming JSON payload
202
const data = await request.json();
203
204
- // Validate that we have a 'prompts' array in the payload
+ // Validate that we have a 'requests' array in the payload
205
if (!data.requests || !Array.isArray(data.requests)) {
206
return new Response(
207
JSON.stringify({
0 commit comments