- fixed the console spam
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 | ... | ... |
-
Please register or sign in to post a comment