Issue - Unhandled Runtime Error
Closed this issue · 2 comments
adryserage commented
enricoros commented
Looked into this, but can't find the cause. This is for local development, correct? Localhost:3000? Has this presented itself again?
You should take a look at pages/api/openai/chat
and print (console.log) the requestBodyJson
variable.
Seems like the POST request to the API handler did not have the correct Body.
enricoros commented
The code has been overhauled - I believe this is not an issue anymore.