From 4e03ad33703a44169126ebe2a169b4ca7968efd2 Mon Sep 17 00:00:00 2001 From: Vali98 Date: Sun, 8 Dec 2024 21:24:38 +0800 Subject: [PATCH] chore: fixed capitalization --- constants/API/APIBuilder.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/constants/API/APIBuilder.ts b/constants/API/APIBuilder.ts index 0debf7b..f9e43e9 100644 --- a/constants/API/APIBuilder.ts +++ b/constants/API/APIBuilder.ts @@ -90,12 +90,12 @@ const readableStreamResponse = async ( const sse = new SSEFetch() const closeStream = () => { - Logger.debug('Running close stream') + Logger.debug('Running Close Stream') Chats.useChat.getState().stopGenerating() } useInference.getState().setAbort(async () => { - Logger.debug('Running abort') + Logger.debug('Running Abort') sse.abort() }) @@ -111,8 +111,8 @@ const readableStreamResponse = async ( }) sse.setOnClose(() => { + Logger.log('Stream Closed') closeStream() - Logger.log('Stream closed') }) sse.start({