-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update dependency openai to v4.85.2 #247
base: main
Are you sure you want to change the base?
Conversation
anthropic debug - [puLL-Merge] - openai/[email protected] Diffdiff --git .github/workflows/ci.yml .github/workflows/ci.yml
index d6798e38a..85d792c44 100644
--- .github/workflows/ci.yml
+++ .github/workflows/ci.yml
@@ -64,3 +64,36 @@ jobs:
- name: Run tests
run: ./scripts/test
+
+ ecosystem_tests:
+ name: ecosystem tests (v${{ matrix.node-version }})
+ runs-on: ubuntu-latest
+ if: github.repository == 'openai/openai-node'
+ timeout-minutes: 20
+ strategy:
+ fail-fast: false
+ matrix:
+ node-version: ['20']
+
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Set up Node
+ uses: actions/setup-node@v4
+ with:
+ node-version: '${{ matrix.node-version }}'
+
+ - uses: denoland/setup-deno@v1
+ with:
+ deno-version: v1.39.0
+
+ - uses: oven-sh/setup-bun@v2
+
+ - name: Bootstrap
+ run: ./scripts/bootstrap
+
+ - name: Run ecosystem tests
+ run: |
+ yarn tsn ecosystem-tests/cli.ts --live --verbose --parallel --jobs=4 --retry=3
+ env:
+ OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
diff --git .gitignore .gitignore
index 81c4c41ca..3fdab1cb7 100644
--- .gitignore
+++ .gitignore
@@ -11,4 +11,4 @@ tmp
.pack
ecosystem-tests/deno/package.json
ecosystem-tests/*/openai.tgz
-
+.dev.vars
diff --git .release-please-manifest.json .release-please-manifest.json
index 6eb0f130e..541794534 100644
--- .release-please-manifest.json
+++ .release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "4.83.0"
+ ".": "4.85.2"
}
diff --git .stats.yml .stats.yml
index df7877dfd..658877d3b 100644
--- .stats.yml
+++ .stats.yml
@@ -1,2 +1,2 @@
-configured_endpoints: 69
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-fc5dbc19505b0035f9e7f88868619f4fb519b048bde011f6154f3132d4be71fb.yml
+configured_endpoints: 74
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-4aa6ee65ba9efc789e05e6a5ef0883b2cadf06def8efd863dbf75e9e233067e1.yml
diff --git CHANGELOG.md CHANGELOG.md
index f61def5e4..70a447b0a 100644
--- CHANGELOG.md
+++ CHANGELOG.md
@@ -1,5 +1,73 @@
# Changelog
+## 4.85.2 (2025-02-18)
+
+Full Changelog: [v4.85.1...v4.85.2](https://github.com/openai/openai-node/compare/v4.85.1...v4.85.2)
+
+### Bug Fixes
+
+* optimize sse chunk reading off-by-one error ([#1339](https://github.com/openai/openai-node/issues/1339)) ([c82795b](https://github.com/openai/openai-node/commit/c82795b189c73d1c0e3bc3a40d0d4a2558b0483a))
+
+## 4.85.1 (2025-02-14)
+
+Full Changelog: [v4.85.0...v4.85.1](https://github.com/openai/openai-node/compare/v4.85.0...v4.85.1)
+
+### Bug Fixes
+
+* **client:** fix export map for index exports ([#1328](https://github.com/openai/openai-node/issues/1328)) ([647ba7a](https://github.com/openai/openai-node/commit/647ba7a52311928f604c72b2cc95698c0837887f))
+* **package:** add chat/completions.ts back in ([#1333](https://github.com/openai/openai-node/issues/1333)) ([e4b5546](https://github.com/openai/openai-node/commit/e4b554632ab1646da831f29413fefb3378c49cc1))
+
+
+### Chores
+
+* **internal:** add missing return type annotation ([#1334](https://github.com/openai/openai-node/issues/1334)) ([53e0856](https://github.com/openai/openai-node/commit/53e0856ec4d36deee4d71b5aaf436df0a59b9402))
+
+## 4.85.0 (2025-02-13)
+
+Full Changelog: [v4.84.1...v4.85.0](https://github.com/openai/openai-node/compare/v4.84.1...v4.85.0)
+
+### Features
+
+* **api:** add support for storing chat completions ([#1327](https://github.com/openai/openai-node/issues/1327)) ([8d77f8e](https://github.com/openai/openai-node/commit/8d77f8e3c4801b7fa1e7c6f50b48c1de1f43f3e6))
+
+
+### Bug Fixes
+
+* **realtime:** call .toString() on WebSocket url ([#1324](https://github.com/openai/openai-node/issues/1324)) ([09bc50d](https://github.com/openai/openai-node/commit/09bc50d439679b6acfd2441e69ee5aa18c00e5d9))
+
+## 4.84.1 (2025-02-13)
+
+Full Changelog: [v4.84.0...v4.84.1](https://github.com/openai/openai-node/compare/v4.84.0...v4.84.1)
+
+### Bug Fixes
+
+* **realtime:** correct websocket type var constraint ([#1321](https://github.com/openai/openai-node/issues/1321)) ([afb17ea](https://github.com/openai/openai-node/commit/afb17ea6497b860ebbe5d8e68e4a97681dd307ff))
+
+## 4.84.0 (2025-02-12)
+
+Full Changelog: [v4.83.0...v4.84.0](https://github.com/openai/openai-node/compare/v4.83.0...v4.84.0)
+
+### Features
+
+* **pagination:** avoid fetching when has_more: false ([#1305](https://github.com/openai/openai-node/issues/1305)) ([b6944c6](https://github.com/openai/openai-node/commit/b6944c634b53c9084f2ccf777c2491e89b2cc7af))
+
+
+### Bug Fixes
+
+* **api:** add missing reasoning effort + model enums ([#1302](https://github.com/openai/openai-node/issues/1302)) ([14c55c3](https://github.com/openai/openai-node/commit/14c55c312e31f1ed46d02f39a99049f785504a53))
+* **assistants:** handle `thread.run.incomplete` event ([7032cc4](https://github.com/openai/openai-node/commit/7032cc40b8aa0a58459cf114bceb8028a8517400))
+* correctly decode multi-byte characters over multiple chunks ([#1316](https://github.com/openai/openai-node/issues/1316)) ([dd776c4](https://github.com/openai/openai-node/commit/dd776c4867401f527f699bd4b9e567890256e849))
+
+
+### Chores
+
+* **internal:** remove segfault-handler dependency ([3521ca3](https://github.com/openai/openai-node/commit/3521ca34e7f5bd51542084e27c084a5d7cc5448b))
+
+
+### Documentation
+
+* **readme:** cleanup into multiple files ([da94424](https://github.com/openai/openai-node/commit/da944242e542e9e5e51cb11853c621fc6825ac02))
+
## 4.83.0 (2025-02-05)
Full Changelog: [v4.82.0...v4.83.0](https://github.com/openai/openai-node/compare/v4.82.0...v4.83.0)
diff --git README.md README.md
index a1f4bf760..166e35e22 100644
--- README.md
+++ README.md
@@ -40,7 +40,7 @@ import OpenAI from 'jsr:@openai/openai';
The full API of this library can be found in [api.md file](api.md) along with many [code examples](https://github.com/openai/openai-node/tree/master/examples). The code below shows how to get started using the chat completions API.
<!-- prettier-ignore -->
-\`\`\`js
+```ts
import OpenAI from 'openai';
const client = new OpenAI({
@@ -80,189 +80,11 @@ async function main() {
main(); -If you need to cancel a stream, you can
|
bedrock debug - [puLL-Merge] - openai/[email protected] Diffdiff --git .github/workflows/ci.yml .github/workflows/ci.yml
index d6798e38a..85d792c44 100644
--- .github/workflows/ci.yml
+++ .github/workflows/ci.yml
@@ -64,3 +64,36 @@ jobs:
- name: Run tests
run: ./scripts/test
+
+ ecosystem_tests:
+ name: ecosystem tests (v${{ matrix.node-version }})
+ runs-on: ubuntu-latest
+ if: github.repository == 'openai/openai-node'
+ timeout-minutes: 20
+ strategy:
+ fail-fast: false
+ matrix:
+ node-version: ['20']
+
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Set up Node
+ uses: actions/setup-node@v4
+ with:
+ node-version: '${{ matrix.node-version }}'
+
+ - uses: denoland/setup-deno@v1
+ with:
+ deno-version: v1.39.0
+
+ - uses: oven-sh/setup-bun@v2
+
+ - name: Bootstrap
+ run: ./scripts/bootstrap
+
+ - name: Run ecosystem tests
+ run: |
+ yarn tsn ecosystem-tests/cli.ts --live --verbose --parallel --jobs=4 --retry=3
+ env:
+ OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
diff --git .gitignore .gitignore
index 81c4c41ca..3fdab1cb7 100644
--- .gitignore
+++ .gitignore
@@ -11,4 +11,4 @@ tmp
.pack
ecosystem-tests/deno/package.json
ecosystem-tests/*/openai.tgz
-
+.dev.vars
diff --git .release-please-manifest.json .release-please-manifest.json
index 6eb0f130e..541794534 100644
--- .release-please-manifest.json
+++ .release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "4.83.0"
+ ".": "4.85.2"
}
diff --git .stats.yml .stats.yml
index df7877dfd..658877d3b 100644
--- .stats.yml
+++ .stats.yml
@@ -1,2 +1,2 @@
-configured_endpoints: 69
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-fc5dbc19505b0035f9e7f88868619f4fb519b048bde011f6154f3132d4be71fb.yml
+configured_endpoints: 74
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-4aa6ee65ba9efc789e05e6a5ef0883b2cadf06def8efd863dbf75e9e233067e1.yml
diff --git CHANGELOG.md CHANGELOG.md
index f61def5e4..70a447b0a 100644
--- CHANGELOG.md
+++ CHANGELOG.md
@@ -1,5 +1,73 @@
# Changelog
+## 4.85.2 (2025-02-18)
+
+Full Changelog: [v4.85.1...v4.85.2](https://github.com/openai/openai-node/compare/v4.85.1...v4.85.2)
+
+### Bug Fixes
+
+* optimize sse chunk reading off-by-one error ([#1339](https://github.com/openai/openai-node/issues/1339)) ([c82795b](https://github.com/openai/openai-node/commit/c82795b189c73d1c0e3bc3a40d0d4a2558b0483a))
+
+## 4.85.1 (2025-02-14)
+
+Full Changelog: [v4.85.0...v4.85.1](https://github.com/openai/openai-node/compare/v4.85.0...v4.85.1)
+
+### Bug Fixes
+
+* **client:** fix export map for index exports ([#1328](https://github.com/openai/openai-node/issues/1328)) ([647ba7a](https://github.com/openai/openai-node/commit/647ba7a52311928f604c72b2cc95698c0837887f))
+* **package:** add chat/completions.ts back in ([#1333](https://github.com/openai/openai-node/issues/1333)) ([e4b5546](https://github.com/openai/openai-node/commit/e4b554632ab1646da831f29413fefb3378c49cc1))
+
+
+### Chores
+
+* **internal:** add missing return type annotation ([#1334](https://github.com/openai/openai-node/issues/1334)) ([53e0856](https://github.com/openai/openai-node/commit/53e0856ec4d36deee4d71b5aaf436df0a59b9402))
+
+## 4.85.0 (2025-02-13)
+
+Full Changelog: [v4.84.1...v4.85.0](https://github.com/openai/openai-node/compare/v4.84.1...v4.85.0)
+
+### Features
+
+* **api:** add support for storing chat completions ([#1327](https://github.com/openai/openai-node/issues/1327)) ([8d77f8e](https://github.com/openai/openai-node/commit/8d77f8e3c4801b7fa1e7c6f50b48c1de1f43f3e6))
+
+
+### Bug Fixes
+
+* **realtime:** call .toString() on WebSocket url ([#1324](https://github.com/openai/openai-node/issues/1324)) ([09bc50d](https://github.com/openai/openai-node/commit/09bc50d439679b6acfd2441e69ee5aa18c00e5d9))
+
+## 4.84.1 (2025-02-13)
+
+Full Changelog: [v4.84.0...v4.84.1](https://github.com/openai/openai-node/compare/v4.84.0...v4.84.1)
+
+### Bug Fixes
+
+* **realtime:** correct websocket type var constraint ([#1321](https://github.com/openai/openai-node/issues/1321)) ([afb17ea](https://github.com/openai/openai-node/commit/afb17ea6497b860ebbe5d8e68e4a97681dd307ff))
+
+## 4.84.0 (2025-02-12)
+
+Full Changelog: [v4.83.0...v4.84.0](https://github.com/openai/openai-node/compare/v4.83.0...v4.84.0)
+
+### Features
+
+* **pagination:** avoid fetching when has_more: false ([#1305](https://github.com/openai/openai-node/issues/1305)) ([b6944c6](https://github.com/openai/openai-node/commit/b6944c634b53c9084f2ccf777c2491e89b2cc7af))
+
+
+### Bug Fixes
+
+* **api:** add missing reasoning effort + model enums ([#1302](https://github.com/openai/openai-node/issues/1302)) ([14c55c3](https://github.com/openai/openai-node/commit/14c55c312e31f1ed46d02f39a99049f785504a53))
+* **assistants:** handle `thread.run.incomplete` event ([7032cc4](https://github.com/openai/openai-node/commit/7032cc40b8aa0a58459cf114bceb8028a8517400))
+* correctly decode multi-byte characters over multiple chunks ([#1316](https://github.com/openai/openai-node/issues/1316)) ([dd776c4](https://github.com/openai/openai-node/commit/dd776c4867401f527f699bd4b9e567890256e849))
+
+
+### Chores
+
+* **internal:** remove segfault-handler dependency ([3521ca3](https://github.com/openai/openai-node/commit/3521ca34e7f5bd51542084e27c084a5d7cc5448b))
+
+
+### Documentation
+
+* **readme:** cleanup into multiple files ([da94424](https://github.com/openai/openai-node/commit/da944242e542e9e5e51cb11853c621fc6825ac02))
+
## 4.83.0 (2025-02-05)
Full Changelog: [v4.82.0...v4.83.0](https://github.com/openai/openai-node/compare/v4.82.0...v4.83.0)
diff --git README.md README.md
index a1f4bf760..166e35e22 100644
--- README.md
+++ README.md
@@ -40,7 +40,7 @@ import OpenAI from 'jsr:@openai/openai';
The full API of this library can be found in [api.md file](api.md) along with many [code examples](https://github.com/openai/openai-node/tree/master/examples). The code below shows how to get started using the chat completions API.
<!-- prettier-ignore -->
-\`\`\`js
+```ts
import OpenAI from 'openai';
const client = new OpenAI({
@@ -80,189 +80,11 @@ async function main() {
main(); -If you need to cancel a stream, you can
|
openai debug - [puLL-Merge] - openai/[email protected] Diffdiff --git .github/workflows/ci.yml .github/workflows/ci.yml
index d6798e38a..85d792c44 100644
--- .github/workflows/ci.yml
+++ .github/workflows/ci.yml
@@ -64,3 +64,36 @@ jobs:
- name: Run tests
run: ./scripts/test
+
+ ecosystem_tests:
+ name: ecosystem tests (v${{ matrix.node-version }})
+ runs-on: ubuntu-latest
+ if: github.repository == 'openai/openai-node'
+ timeout-minutes: 20
+ strategy:
+ fail-fast: false
+ matrix:
+ node-version: ['20']
+
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Set up Node
+ uses: actions/setup-node@v4
+ with:
+ node-version: '${{ matrix.node-version }}'
+
+ - uses: denoland/setup-deno@v1
+ with:
+ deno-version: v1.39.0
+
+ - uses: oven-sh/setup-bun@v2
+
+ - name: Bootstrap
+ run: ./scripts/bootstrap
+
+ - name: Run ecosystem tests
+ run: |
+ yarn tsn ecosystem-tests/cli.ts --live --verbose --parallel --jobs=4 --retry=3
+ env:
+ OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
diff --git .gitignore .gitignore
index 81c4c41ca..3fdab1cb7 100644
--- .gitignore
+++ .gitignore
@@ -11,4 +11,4 @@ tmp
.pack
ecosystem-tests/deno/package.json
ecosystem-tests/*/openai.tgz
-
+.dev.vars
diff --git .release-please-manifest.json .release-please-manifest.json
index 6eb0f130e..541794534 100644
--- .release-please-manifest.json
+++ .release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "4.83.0"
+ ".": "4.85.2"
}
diff --git .stats.yml .stats.yml
index df7877dfd..658877d3b 100644
--- .stats.yml
+++ .stats.yml
@@ -1,2 +1,2 @@
-configured_endpoints: 69
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-fc5dbc19505b0035f9e7f88868619f4fb519b048bde011f6154f3132d4be71fb.yml
+configured_endpoints: 74
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-4aa6ee65ba9efc789e05e6a5ef0883b2cadf06def8efd863dbf75e9e233067e1.yml
diff --git CHANGELOG.md CHANGELOG.md
index f61def5e4..70a447b0a 100644
--- CHANGELOG.md
+++ CHANGELOG.md
@@ -1,5 +1,73 @@
# Changelog
+## 4.85.2 (2025-02-18)
+
+Full Changelog: [v4.85.1...v4.85.2](https://github.com/openai/openai-node/compare/v4.85.1...v4.85.2)
+
+### Bug Fixes
+
+* optimize sse chunk reading off-by-one error ([#1339](https://github.com/openai/openai-node/issues/1339)) ([c82795b](https://github.com/openai/openai-node/commit/c82795b189c73d1c0e3bc3a40d0d4a2558b0483a))
+
+## 4.85.1 (2025-02-14)
+
+Full Changelog: [v4.85.0...v4.85.1](https://github.com/openai/openai-node/compare/v4.85.0...v4.85.1)
+
+### Bug Fixes
+
+* **client:** fix export map for index exports ([#1328](https://github.com/openai/openai-node/issues/1328)) ([647ba7a](https://github.com/openai/openai-node/commit/647ba7a52311928f604c72b2cc95698c0837887f))
+* **package:** add chat/completions.ts back in ([#1333](https://github.com/openai/openai-node/issues/1333)) ([e4b5546](https://github.com/openai/openai-node/commit/e4b554632ab1646da831f29413fefb3378c49cc1))
+
+
+### Chores
+
+* **internal:** add missing return type annotation ([#1334](https://github.com/openai/openai-node/issues/1334)) ([53e0856](https://github.com/openai/openai-node/commit/53e0856ec4d36deee4d71b5aaf436df0a59b9402))
+
+## 4.85.0 (2025-02-13)
+
+Full Changelog: [v4.84.1...v4.85.0](https://github.com/openai/openai-node/compare/v4.84.1...v4.85.0)
+
+### Features
+
+* **api:** add support for storing chat completions ([#1327](https://github.com/openai/openai-node/issues/1327)) ([8d77f8e](https://github.com/openai/openai-node/commit/8d77f8e3c4801b7fa1e7c6f50b48c1de1f43f3e6))
+
+
+### Bug Fixes
+
+* **realtime:** call .toString() on WebSocket url ([#1324](https://github.com/openai/openai-node/issues/1324)) ([09bc50d](https://github.com/openai/openai-node/commit/09bc50d439679b6acfd2441e69ee5aa18c00e5d9))
+
+## 4.84.1 (2025-02-13)
+
+Full Changelog: [v4.84.0...v4.84.1](https://github.com/openai/openai-node/compare/v4.84.0...v4.84.1)
+
+### Bug Fixes
+
+* **realtime:** correct websocket type var constraint ([#1321](https://github.com/openai/openai-node/issues/1321)) ([afb17ea](https://github.com/openai/openai-node/commit/afb17ea6497b860ebbe5d8e68e4a97681dd307ff))
+
+## 4.84.0 (2025-02-12)
+
+Full Changelog: [v4.83.0...v4.84.0](https://github.com/openai/openai-node/compare/v4.83.0...v4.84.0)
+
+### Features
+
+* **pagination:** avoid fetching when has_more: false ([#1305](https://github.com/openai/openai-node/issues/1305)) ([b6944c6](https://github.com/openai/openai-node/commit/b6944c634b53c9084f2ccf777c2491e89b2cc7af))
+
+
+### Bug Fixes
+
+* **api:** add missing reasoning effort + model enums ([#1302](https://github.com/openai/openai-node/issues/1302)) ([14c55c3](https://github.com/openai/openai-node/commit/14c55c312e31f1ed46d02f39a99049f785504a53))
+* **assistants:** handle `thread.run.incomplete` event ([7032cc4](https://github.com/openai/openai-node/commit/7032cc40b8aa0a58459cf114bceb8028a8517400))
+* correctly decode multi-byte characters over multiple chunks ([#1316](https://github.com/openai/openai-node/issues/1316)) ([dd776c4](https://github.com/openai/openai-node/commit/dd776c4867401f527f699bd4b9e567890256e849))
+
+
+### Chores
+
+* **internal:** remove segfault-handler dependency ([3521ca3](https://github.com/openai/openai-node/commit/3521ca34e7f5bd51542084e27c084a5d7cc5448b))
+
+
+### Documentation
+
+* **readme:** cleanup into multiple files ([da94424](https://github.com/openai/openai-node/commit/da944242e542e9e5e51cb11853c621fc6825ac02))
+
## 4.83.0 (2025-02-05)
Full Changelog: [v4.82.0...v4.83.0](https://github.com/openai/openai-node/compare/v4.82.0...v4.83.0)
diff --git README.md README.md
index a1f4bf760..166e35e22 100644
--- README.md
+++ README.md
@@ -40,7 +40,7 @@ import OpenAI from 'jsr:@openai/openai';
The full API of this library can be found in [api.md file](api.md) along with many [code examples](https://github.com/openai/openai-node/tree/master/examples). The code below shows how to get started using the chat completions API.
<!-- prettier-ignore -->
-\`\`\`js
+```ts
import OpenAI from 'openai';
const client = new OpenAI({
@@ -80,189 +80,11 @@ async function main() {
main(); -If you need to cancel a stream, you can
|
This PR contains the following updates:
4.83.0
->4.85.2
Release Notes
openai/openai-node (openai)
v4.85.2
Compare Source
Full Changelog: v4.85.1...v4.85.2
Bug Fixes
v4.85.1
Compare Source
Full Changelog: v4.85.0...v4.85.1
Bug Fixes
Chores
v4.85.0
Compare Source
Full Changelog: v4.84.1...v4.85.0
Features
Bug Fixes
v4.84.1
Compare Source
Full Changelog: v4.84.0...v4.84.1
Bug Fixes
v4.84.0
Compare Source
Full Changelog: v4.83.0...v4.84.0
Features
Bug Fixes
thread.run.incomplete
event (7032cc4)Chores
Documentation
Configuration
📅 Schedule: Branch creation - "* 0-12 * * 3" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.