#cant send parameter to API route
5 messages · Page 1 of 1 (latest)
typo, I fixed it, still having the same issue, i have no clue what is happening
5 messages · Page 1 of 1 (latest)
return new Response("No prompt in the request", { status: 400 });
}```
you are saying if there is no prompt or there are max tokens then return status 400?
typo, I fixed it, still having the same issue, i have no clue what is happening