adding exit

This commit is contained in:
raven
2023-01-11 16:53:49 -05:00
parent 61a7e442c9
commit 0ba92e4b60
2 changed files with 12 additions and 1 deletions

View File

@ -8,6 +8,7 @@ async function AIRequest(prompt) {
.post('https://codex-ai-v9q6.onrender.com/')
.headers({ 'Accept': 'application/json', 'Content-Type': 'application/json' })
.send({ "prompt": prompt })
console.log(AIRequest.body.bot)
return AIRequest.body.bot
}