From 6f8db40f74fbf3f77a487fb12139c9a6791bf8a7 Mon Sep 17 00:00:00 2001 From: David Corbitt Date: Tue, 8 Aug 2023 11:12:04 -0700 Subject: [PATCH] Fix logging --- client-libs/typescript/openai/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client-libs/typescript/openai/index.ts b/client-libs/typescript/openai/index.ts index 5676f4b..8c20bdb 100644 --- a/client-libs/typescript/openai/index.ts +++ b/client-libs/typescript/openai/index.ts @@ -85,7 +85,7 @@ class ExtendedCompletions extends openai.OpenAI.Chat.Completions { options ); // Your post API call logic here - console.log("Doing post API call for NonStreaming..."); + console.log("Doing post API call for Streaming..."); return result; } else { const startTime = Date.now(); @@ -104,7 +104,7 @@ class ExtendedCompletions extends openai.OpenAI.Chat.Completions { }); // Your post API call logic here - console.log("Doing post API call for Streaming..."); + console.log("Doing post API call for NonStreaming..."); return result; } }