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

fix(deps): update dependency openai to v4.56.0 #174

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 28, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
openai 4.55.4 -> 4.56.0 age adoption passing confidence

Release Notes

openai/openai-node (openai)

v4.56.0

Compare Source

Full Changelog: v4.55.9...v4.56.0

Features
  • api: add chatgpt-4o-latest model (edc4398)

v4.55.9

Compare Source

Full Changelog: v4.55.8...v4.55.9

Bug Fixes

v4.55.8

Compare Source

Full Changelog: v4.55.7...v4.55.8

Chores

v4.55.7

Compare Source

Full Changelog: v4.55.6...v4.55.7

Bug Fixes
  • json-schema: correct handling of nested recursive schemas (#​992) (ac309ab)

v4.55.6

Compare Source

Full Changelog: v4.55.5...v4.55.6

Bug Fixes

v4.55.5

Compare Source

Full Changelog: v4.55.4...v4.55.5

Chores

Configuration

📅 Schedule: Branch creation - "* 0-4 * * 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

anthropic debug - [puLL-Merge] - openai/openai-node@v4.55.4..v4.56.0

Description

This PR includes several updates to the OpenAI Node.js library, including version bumps, new features, bug fixes, and improvements to the codebase. The changes span across multiple files and introduce new functionality while addressing existing issues.

Changes

Changes

  1. Version Updates:

    • Updated version from 4.55.4 to 4.56.0 in multiple files.
    • Updated changelog with details for versions 4.56.0 to 4.55.5.
  2. API Changes:

    • Added a new model "chatgpt-4o-latest" in the API.
    • Introduced a FilePurpose enum in the files.ts resource.
    • Updated the ChatCompletionMessage interface to allow null for function_call.
  3. Bug Fixes:

    • Fixed an issue with Azure TTS to avoid stripping the model parameter.
    • Corrected handling of nested recursive schemas in JSON schema generation.
    • Fixed licensing for zod-to-json-schema.
  4. Test Updates:

    • Added new tests for recursive schema extraction.
    • Updated existing tests to reflect changes in the API and functionality.
  5. Documentation:

    • Updated API documentation to include the new FilePurpose type.
    • Made minor formatting changes to examples.
  6. Build and Configuration:

    • Updated the OpenAPI spec URL in .stats.yml.
    • Modified the Deno build script to reflect the new version.
  7. Vendor Updates:

    • Added a LICENSE file for the vendored zod-to-json-schema library.
    • Updated the Options type and defaultOptions object in the zod-to-json-schema vendor code.

Possible Issues

  • The introduction of the new model "chatgpt-4o-latest" may require users to update their code to utilize this new model.
  • Changes to the ChatCompletionMessage interface allowing null for function_call might affect existing implementations that assume a non-null value.

Security Hotspots

None identified in this PR.

Copy link

bedrock debug - [puLL-Merge] - openai/openai-node@v4.55.4..v4.56.0

Description

This pull request updates the OpenAI Node.js library from version 4.55.4 to 4.56.0. It includes several bug fixes, minor improvements, and a new feature addition.

Changes

Changes

  1. .release-please-manifest.json:

    • Updated version number from 4.55.4 to 4.56.0
  2. .stats.yml:

    • Updated OpenAPI spec URL
  3. CHANGELOG.md:

    • Added entries for versions 4.56.0, 4.55.9, 4.55.8, 4.55.7, 4.55.6, and 4.55.5
    • New feature: Added chatgpt-4o-latest model
    • Bug fixes:
      • Fixed issue with Azure TTS to avoid stripping model param
      • Corrected handling of nested recursive schemas in JSON schema
      • Fixed zod-to-json-schema licensing
  4. README.md:

    • Updated import statement version for Deno
  5. api.md:

    • Added FilePurpose type to the Files resource
  6. package.json:

    • Updated version number to 4.56.0
  7. scripts/build-deno:

    • Updated version number in usage example
  8. src/_vendor/zod-to-json-schema/:

    • Added LICENSE file
    • Updated Options.ts and zodToJsonSchema.ts to improve handling of recursive schemas
  9. src/index.ts:

    • Added export for FilePurpose
    • Modified AzureOpenAI class to retain the model parameter in the request body
  10. src/resources/chat/completions.ts:

    • Updated function_call type to allow null values
  11. src/resources/files.ts:

    • Added FilePurpose type definition and updated related interfaces
  12. src/resources/uploads/uploads.ts:

    • Updated purpose type to use FilePurpose
  13. src/version.ts:

    • Updated version number to 4.56.0
  14. Various test files:

    • Updated tests to reflect changes in the library
    • Added new tests for recursive schema handling

Possible Issues

  • The changes to the Azure OpenAI client behavior (retaining the model parameter) might affect existing integrations that rely on the previous behavior.

Security Hotspots

None identified in this pull request.

@thypon thypon merged commit fb9e37c into main Aug 28, 2024
7 of 8 checks passed
@thypon thypon deleted the renovate/openai-4.x-lockfile branch August 28, 2024 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant