Spaces:
Runtime error
Runtime error
Update index.js
Browse files
index.js
CHANGED
@@ -683,7 +683,6 @@ async function handleResponse(response, model, res, isStream) {
|
|
683 |
if (!line.trim()) continue;
|
684 |
try {
|
685 |
const linejosn = JSON.parse(line.trim());
|
686 |
-
console.log(linejosn);
|
687 |
if (linejosn?.error) {
|
688 |
Logger.error(JSON.stringify(linejosn, null, 2), 'Server');
|
689 |
if (linejosn.error?.name === "RateLimitError") {
|
|
|
683 |
if (!line.trim()) continue;
|
684 |
try {
|
685 |
const linejosn = JSON.parse(line.trim());
|
|
|
686 |
if (linejosn?.error) {
|
687 |
Logger.error(JSON.stringify(linejosn, null, 2), 'Server');
|
688 |
if (linejosn.error?.name === "RateLimitError") {
|