diff --git a/packages/openai/CHANGELOG.md b/packages/openai/CHANGELOG.md index 534a3e7..2fbcefc 100644 --- a/packages/openai/CHANGELOG.md +++ b/packages/openai/CHANGELOG.md @@ -1,5 +1,11 @@ # @paperdave/openai +## 1.0.2 + +### Patch Changes + +- remove an anoying console.log + ## 1.0.1 ### Patch Changes diff --git a/packages/openai/package.json b/packages/openai/package.json index 1b27cf6..e709002 100644 --- a/packages/openai/package.json +++ b/packages/openai/package.json @@ -1,6 +1,6 @@ { "name": "@paperdave/openai", - "version": "1.0.1", + "version": "1.0.2", "description": "OpenAI API Library", "keywords": [ "openai", diff --git a/packages/openai/src/chat.ts b/packages/openai/src/chat.ts index 9c37c7c..1cccea4 100644 --- a/packages/openai/src/chat.ts +++ b/packages/openai/src/chat.ts @@ -501,7 +501,6 @@ async function finishChatCompletionStream(inputBody: any, options: ChatCompletio }); const eventSource = new OpenAIEventSource(reader); eventSource.onData = (data: RawChatCompletionChunk) => { - console.log({ data: JSON.stringify(data) }); if (data.model && !metadata.model) { metadata.model = data.model; }