Skip to content

Commit

Permalink
remove anoying console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
paperdave committed Jun 18, 2023
1 parent edfdb7a commit f66a44e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions packages/openai/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @paperdave/openai

## 1.0.2

### Patch Changes

- remove an anoying console.log

## 1.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/openai/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@paperdave/openai",
"version": "1.0.1",
"version": "1.0.2",
"description": "OpenAI API Library",
"keywords": [
"openai",
Expand Down
1 change: 0 additions & 1 deletion packages/openai/src/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f66a44e

Please sign in to comment.