From a40e8add20e557cac5d9836abbbb73d409252537 Mon Sep 17 00:00:00 2001 From: nodemixaholic Date: Fri, 15 Mar 2024 20:46:28 +0000 Subject: [PATCH] Update 'index.js' --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index a8f2abc..94e07a1 100644 --- a/index.js +++ b/index.js @@ -67,11 +67,11 @@ async function main() { while (problemSolved == false) { try { console.log(`Generation ${generation}`) - console.log(answer.response) answerParsed = answer.response.replaceAll("```javascript","").replaceAll("```",""); langExec(answerParsed); problemSolved = true; generation = generation + 1; + console.log(answerParsed) } catch (error) { answer = await instance.prompt(`There was an error: ${error.message}. Please only provide the code, the full code, and nothing but the code. No chit-chat, no markdown, just code. Also, make sure it's written in ${getLangID()} without any libraries besides included.`) } @@ -82,7 +82,7 @@ async function main() { async function aThousand() { let potentialAnswersQuestion = `Which answer is best suited for ${problem}? If there are two or more answers that are about as equal, but one has lower quality code, choose the one with higher quality code. - Pick ONLY ONE ANSWER. + Pick ONLY ONE ANSWER. MUST BE PROGRAMMED IN THE LANGUAGE ${getLangID}! Answers: