Skip to content

Commit

Permalink
chore: fixed capitalization
Browse files Browse the repository at this point in the history
  • Loading branch information
Vali-98 committed Dec 8, 2024
1 parent ab6fbde commit 4e03ad3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions constants/API/APIBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
})

Expand All @@ -111,8 +111,8 @@ const readableStreamResponse = async (
})

sse.setOnClose(() => {
Logger.log('Stream Closed')
closeStream()
Logger.log('Stream closed')
})

sse.start({
Expand Down

0 comments on commit 4e03ad3

Please sign in to comment.