1e8cf7c0 by Bryan Batac

- fixed the console spam

1 parent 43da8db2
Showing 1 changed file with 1 additions and 1 deletions
...@@ -233,7 +233,7 @@ async function runGPTTurbo(req, res) { ...@@ -233,7 +233,7 @@ async function runGPTTurbo(req, res) {
233 if (error_msg.indexOf('maximum context length') >= 0) { 233 if (error_msg.indexOf('maximum context length') >= 0) {
234 input = "The output for your prompt is too long for us to process. Please reduce your prompt and try again."; 234 input = "The output for your prompt is too long for us to process. Please reduce your prompt and try again.";
235 } else { 235 } else {
236 console.log(e.response); 236 console.log('error runGPTTurbo:', error_msg);
237 } 237 }
238 } finally { 238 } finally {
239 239
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!