Fix logging

This commit is contained in:
David Corbitt
2023-08-08 11:12:04 -07:00
parent 8c5345a291
commit 6f8db40f74

View File

@@ -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;
} }
} }