comment debug print

This commit is contained in:
end-4
2025-05-09 01:07:55 +02:00
parent c13acd0152
commit b4e3221711
+2 -2
View File
@@ -249,7 +249,7 @@ Singleton {
+ ` ${headerString}`
+ ' -H "Authorization: Bearer ${API_KEY}"'
+ ` -d '${StringUtils.shellSingleQuoteEscape(JSON.stringify(data))}'`
console.log("Request command: ", requestCommandString);
// console.log("Request command: ", requestCommandString);
requester.command = baseCommand.concat([requestCommandString]);
/* Reset vars and make the request */
@@ -314,7 +314,7 @@ Singleton {
const parsedResponse = JSON.parse(requester.message.content + "]");
requester.message.content = `\`\`\`json\n${JSON.stringify(parsedResponse, null, 2)}\n\`\`\``;
} catch (e) {
console.log("[AI] Could not parse response on exit: ", e);
// console.log("[AI] Could not parse response on exit: ", e);
}
}
}