diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 0edf1b38d..64b951803 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.15.3" + ".": "4.15.4" } diff --git a/CHANGELOG.md b/CHANGELOG.md index d3d2743e7..9819c04b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 4.15.4 (2023-11-05) + +Full Changelog: [v4.15.3...v4.15.4](https://github.com/openai/openai-node/compare/v4.15.3...v4.15.4) + +### Documentation + +* **readme:** remove redundant whitespace ([#427](https://github.com/openai/openai-node/issues/427)) ([aa3a178](https://github.com/openai/openai-node/commit/aa3a1782914a4a285263e4d070bca73e72ed47ec)) + ## 4.15.3 (2023-11-04) Full Changelog: [v4.15.2...v4.15.3](https://github.com/openai/openai-node/compare/v4.15.2...v4.15.3) diff --git a/README.md b/README.md index 8f9808973..9de4dccb7 100644 --- a/README.md +++ b/README.md @@ -38,8 +38,6 @@ async function main() { messages: [{ role: 'user', content: 'Say this is a test' }], model: 'gpt-3.5-turbo', }); - - console.log(chatCompletion.choices); } main(); @@ -261,7 +259,6 @@ async function main() { if (err instanceof OpenAI.APIError) { console.log(err.status); // 400 console.log(err.name); // BadRequestError - console.log(err.headers); // {server: 'nginx', ...} } else { throw err; @@ -388,7 +385,7 @@ const { data: chatCompletion, response: raw } = await openai.chat.completions .create({ messages: [{ role: 'user', content: 'Say this is a test' }], model: 'gpt-3.5-turbo' }) .withResponse(); console.log(raw.headers.get('X-My-Header')); -console.log(chatCompletion.choices); +console.log(chatCompletion); ``` ## Customizing the fetch client diff --git a/package.json b/package.json index 56e05885c..2b4f9c0a6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "openai", - "version": "4.15.3", + "version": "4.15.4", "description": "Client library for the OpenAI API", "author": "OpenAI ", "types": "dist/index.d.ts", diff --git a/src/version.ts b/src/version.ts index c6d048236..1f90232ea 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '4.15.3'; // x-release-please-version +export const VERSION = '4.15.4'; // x-release-please-version