Skip to content
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

release: 4.17.4 #483

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "4.17.3"
".": "4.17.4"
}
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 4.17.4 (2023-11-10)

Full Changelog: [v4.17.3...v4.17.4](https://github.com/openai/openai-node/compare/v4.17.3...v4.17.4)

### Chores

* **internal:** update jest config ([#482](https://github.com/openai/openai-node/issues/482)) ([3013e8c](https://github.com/openai/openai-node/commit/3013e8c73a61a397a418ca75b996f0a7dd03a744))

## 4.17.3 (2023-11-09)

Full Changelog: [v4.17.2...v4.17.3](https://github.com/openai/openai-node/compare/v4.17.2...v4.17.3)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ You can import in Deno via:
<!-- x-release-please-start-version -->

```ts
import OpenAI from 'https://deno.land/x/openai@v4.17.3/mod.ts';
import OpenAI from 'https://deno.land/x/openai@v4.17.4/mod.ts';
```

<!-- x-release-please-end -->
Expand Down
2 changes: 1 addition & 1 deletion build-deno
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This is a build produced from https://github.com/openai/openai-node – please g
Usage:

\`\`\`ts
import OpenAI from "https://deno.land/x/openai@v4.17.3/mod.ts";
import OpenAI from "https://deno.land/x/openai@v4.17.4/mod.ts";

const client = new OpenAI();
\`\`\`
Expand Down
7 changes: 6 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,10 @@ module.exports = {
'^openai/_shims/auto/(.*)$': '<rootDir>/src/_shims/auto/$1-node',
'^openai/(.*)$': '<rootDir>/src/$1',
},
modulePathIgnorePatterns: ['<rootDir>/ecosystem-tests/', '<rootDir>/dist/', '<rootDir>/deno_tests/'],
modulePathIgnorePatterns: [
'<rootDir>/ecosystem-tests/',
'<rootDir>/dist/',
'<rootDir>/deno/',
'<rootDir>/deno_tests/',
],
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "openai",
"version": "4.17.3",
"version": "4.17.4",
"description": "Client library for the OpenAI API",
"author": "OpenAI <support@openai.com>",
"types": "dist/index.d.ts",
Expand Down
7 changes: 5 additions & 2 deletions src/lib/ChatCompletionRunFunctions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,8 @@ function _typeTests() {
}

describe('resource completions', () => {
describe('runFunctions with stream: false', () => {
// TODO: re-enable
describe.skip('runFunctions with stream: false', () => {
test('successful flow', async () => {
const { fetch, handleRequest } = mockChatCompletionFetch();

Expand Down Expand Up @@ -1259,7 +1260,9 @@ describe('resource completions', () => {
await listener.sanityCheck();
});
});
describe('runFunctions with stream: true', () => {

// TODO: re-enable
describe.skip('runFunctions with stream: true', () => {
test('successful flow', async () => {
const { fetch, handleRequest } = mockStreamingChatCompletionFetch();

Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '4.17.3'; // x-release-please-version
export const VERSION = '4.17.4'; // x-release-please-version
3 changes: 2 additions & 1 deletion tests/api-resources/audio/speech.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ const openai = new OpenAI({
});

describe('resource speech', () => {
test('create: required and optional params', async () => {
// Mocked tests are currently broken
test.skip('create: required and optional params', async () => {
const response = await openai.audio.speech.create({
input: 'string',
model: 'string',
Expand Down
10 changes: 0 additions & 10 deletions tests/api-resources/beta/chat/completions.test.ts

This file was deleted.