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 rust crate async-openai to 0.25.0 #90

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 12, 2024

This PR contains the following updates:

Package Type Update Change
async-openai dependencies minor 0.14.2 -> 0.25.0

Release Notes

64bit/async-openai (async-openai)

v0.25.0: v0.25.0

Compare Source

New
  • Added types for Realtime API, can be enabled by feature flag realtime #​276
  • Added supporting example in examples/realtime #​276

v0.24.1: v0.24.1

Compare Source

New

Fix: Fix service_tier serialization for CreateChatCompletionRequest #​263 by @​tomgie
Fix: Fix content, refusal serialization for CreateChatCompletionRequest #​267 by @​chirino
Fix: Fix deserialization of ListVectorStoresResponse #​242 #​270

Thank you contributors

v0.24.0: v0.24.0

Compare Source

New
Thank you contributors

v0.23.4: v0.23.4

Compare Source

New
Thank you contributors

v0.23.3: v0.23.3

Compare Source

Bug Fixes
  • Skip serialization of None optional fields in CreateRunRequest because API does not accept "null" #​234 #​235 #​236
Thank you contributors

v0.23.2: v0.23.2

Compare Source

Bug Fixes
Thank you contributors

v0.23.1: v0.23.1

Compare Source

Added
  • Audio translate API in SRT format via Audio::translate_raw
Updated
  • spec from upstream (notably parallel_tool_calls parameter)
Bug Fixes
  • Correct types for deserialization of VectorStoreFileObjectChunkingStrategy and VectorStoreObject by @​hiibolt in #​230
Thank you contributors

v0.23.0: v0.23.0

Compare Source

Added
  • Assistants streaming API support
  • Assistant examples for file search, code interpreter, and function calling with streaming.
Updated
  • Types synced from upstream spec
  • crate dependencies
Bug Fixes
  • Serialization and deserailization of types should lead to same data type. Reported and test included in #​216 by @​sontallive
  • File retreive content API now returns Bytes instead of String
  • FileCitation deserialization fix #​222 by @​kitalia
  • assistant: don't send null values for tool resources #​226 by @​domenkozar
Miscellaneous
Thank you contributors

v0.21.0: v0.21.0

Compare Source

New

Added

  • Batch API
  • Vector Stores API
  • Support for OpenAI Project ID
  • List checkpoints Fine Tuning API
  • Delete messages API

Updated

  • Types for Assistant API v2
  • Types for Audio translations API
  • Type ApiError to match spec.
  • Doc comments from spec.

v0.20.0: v0.20.0

Compare Source

New
Thank you contributors

v0.19.1: v0.19.1

Compare Source

New
Thank you contributors

v0.19.0: v0.19.0

Compare Source

New
  • updated: Add usage field to RunObject in #​195 by @​turingbuilder
  • updated: synced types from upstream spec
  • deleted: Edits and FineTunes which were deprecated and are now fully removed from spec and official documentation. Corresponding examples are also deleted. Hence the minor version bump
Thank you contributors

v0.18.3: v0.18.3

Compare Source

New

  • fixed: Add missing language field in create transcription request #​188 by @​Taoaozw

Thank you Contributors

v0.18.2: v0.18.2

Compare Source

New

Thank you Contributors

v0.18.1: v0.18.1

Compare Source

New

Thank you Contributors

v0.18.0: v0.18.0

Compare Source

New

  • added: feature flag rustls-webpki-roots = ["reqwest/rustls-tls-webpki-roots"] by @​xutianyi1999 #​168
  • refactor: Rust types are now well organized by @​sharifhsn #​170
  • updated: Update Rust types from upstream Spec #​171
  • updated: Function to list files now accept additional query parameter #​172

Thank you Contributors

v0.17.1: v0.17.1

Compare Source

New
Thank you Contributors

v0.17.0: v0.17.0

Compare Source

Overview

This release introduces breaking change for file input (from filesystem or in-memory) but is backward compatible, hence bumping the minor version.

New
  • fixed: added optional name field to chat completion request message structs for chat completion APIs #​150 by @​ifsheldon
  • added support for file uploads (audio, image, files for fine tuning) from in-memory #​154 by @​Prosammer
Experimental WASM support

@​ifsheldon's great effort has added WASM support, it lives in experiments branch. To use it please pin directly to git sha in your Cargo.toml. Any discussion, issues, related to WASM are welcome in https://github.com/64bit/async-openai/issues/102 . Any WASM related PRs are welcome in experiments branch.

New Examples
Thank you contributors

While OpenAI was going through unprecedented times, these people were shipping! so in OpenAI style:

❤️ 💙 💛 💚 ❤️ 💙 💛
@​ifsheldon
@​Strange-Knoll
@​frankfralick
@​Prosammer
❤️ 💙 💛 💚 ❤️ 💙 💛

v0.16.3: v0.16.3

Compare Source

New

  • bug fix: Rename tools_outputs to tool_outputs #​147
Thank you

v0.16.2: v0.16.2

Compare Source

New
  • bug fix: expires_at needs to be Optional in RunObject #​141
  • spec update: Added system_fingerprint field to CreateChatCompletionStreamResponse; updates to few doc comments #​142
New Contributors

v0.16.1: v0.16.1

Compare Source

New
  • bug fix: Add missing pub modifiers from couple of struct fields #​139 #​137

v0.16.0: v0.16.0

Compare Source

New
Notes about this release:
  • Most of the existing examples/* are tested.
  • Assistants and related API are least tested.
  • Please do send a PR if you find any issues.
Thank you

Many thanks to contributor @​m1guelpf

v0.15.0: v0.15.0

Compare Source

New

  • added : Use secrecy crate to store api_key : Secret<String> in configs #​114 by @​ironman5366
  • added: Derive Copy for enums: ImageSize, ResponseFormat, TextModerationModel, Role, and AudioResponseFormat #​117 by @​m1guelpf
  • added: Expose config getter in Client #​123 by @​Czechh
  • updated: Enum type for finish_reason to match latest spec for chat completions API #​111 by @​retrage
  • updated: ChatCompletionFunctionCall enum for better DX #​118 by @​m1guelpf
Updates from latest upstream spec 2.0.0

Chat & Completion:

  • use enums FinishReason & CompletionFinishReason for finish_reason instead of String
  • Rename struct Usage to CompletionUsage

Embeddings:

  • Add field encoding_format in CreateEmbeddingRequest

Files:

  • Update status_detail field type in OpenAIFile from object to String

Images:

  • Rename ImageData to Image to match spec
  • Rename ImageResponse to ImagesResponse to match spec

Moderations:

  • Add new fields in moderation request and response types.

Fine Tuning

  • Add new Fine Tuning APIs

Fine Tunes & Edit

  • Mark Edit and FineTunes to be deprecated

Doc comments

  • Update doc comments to match latest spec

Thank you

Thank you to the contributors (@​m1guelpf , @​Czechh ) and first time (@​ironman5366 , @​retrage ) contributors! 🎉

v0.14.3: v0.14.3

Compare Source

New
  • updated: Custom Debug implementation for AzureConfig and OpenAIConfig to prevent printing of API key #​112
New Contributors

Configuration

📅 Schedule: Branch creation - "every 3 months on the first day of the month" (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.

@renovate renovate bot force-pushed the renovate/async-openai-0.x branch from 891a408 to 8fd1987 Compare October 14, 2024 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants