Fix logging
This commit is contained in:
@@ -85,7 +85,7 @@ class ExtendedCompletions extends openai.OpenAI.Chat.Completions {
|
|||||||
options
|
options
|
||||||
);
|
);
|
||||||
// Your post API call logic here
|
// Your post API call logic here
|
||||||
console.log("Doing post API call for NonStreaming...");
|
console.log("Doing post API call for Streaming...");
|
||||||
return result;
|
return result;
|
||||||
} else {
|
} else {
|
||||||
const startTime = Date.now();
|
const startTime = Date.now();
|
||||||
@@ -104,7 +104,7 @@ class ExtendedCompletions extends openai.OpenAI.Chat.Completions {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Your post API call logic here
|
// Your post API call logic here
|
||||||
console.log("Doing post API call for Streaming...");
|
console.log("Doing post API call for NonStreaming...");
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user