Skip to content

Releases: 64bit/async-openai

v0.14.3

24 Sep 22:41
async-openai-v0.14.3
3db68af
Compare
Choose a tag to compare

New

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

New Contributors

v0.14.2

15 Sep 01:08
async-openai-v0.14.2
20e55fb
Compare
Choose a tag to compare

New

  • added: derive Deserialize for OpenAIConfig and AzureConfig to read configurations from files #107 #108

New Contributors

v0.14.1

08 Sep 23:21
async-openai-v0.14.1
f9bf345
Compare
Choose a tag to compare

New

  • fixed: Propogate error up on failure to create reqwest::Request
  • fixed: Serialize "content": null as required by chat completion API: #103

v0.14.0

23 Aug 12:15
async-openai-v0.14.0
3776935
Compare
Choose a tag to compare

New

This release makes all multipart form submissions (file uploads) retry on rate limit. #100
There are no breaking changes.
The minor version was bumped because of internal refactor to support file upload retries.

v0.13.1

17 Aug 14:09
async-openai-v0.13.1
db03584
Compare
Choose a tag to compare

New

  • fixed : Bug fix to handle function call streaming #98

Example Updated

  • examples/function-call-stream is now fully streamable #98

New Contributors

v0.13.0

08 Aug 21:51
async-openai-v0.13.0
263eb70
Compare
Choose a tag to compare

New

Breaking changes

  • updated: Chat streaming response types now reflect the OpenAPI spec #92
    • ChatCompletionResponseStreamMessage is now ChatCompletionStreamResponseDelta
    • ChatChoiceDelta is now ChatCompletionResponseStreamMessage
  • fixed: r#type field of ApiError is changed from String to Option<String> to support Azure OpenAI service error spec #95

New Examples

New Contributors

v0.12.2

26 Jul 06:09
async-openai-v0.12.2
2cb078b
Compare
Choose a tag to compare

New

  • bug fix: OpenAIConfig would generate url with constant OPENAI_API_BASE even after api_base has been changed. This bug has been fixed in #88

New contributors

v0.12.1

29 Jun 05:31
async-openai-v0.12.1
b4e3671
Compare
Choose a tag to compare

New

  • added: crate feature native-tls-vendored = ["reqwest/native-tls-vendored"] #82
    Context for this feature:

    I run my rust services on ARM-based AWS graviton instances which have a different version of OpenSSL that doesn't play nicely with reqwest. This diff adds a new feature to async-openai that allows removing the dependency on OpenSSL by opting in for the native-tls-vendored feature in the reqwest library.

    I've tested this on graviton with an incompatible version of OpenSSL and things work nicely :)

New Contributors

v0.12.0

24 Jun 18:02
async-openai-v0.12.0
3d2b0f4
Compare
Choose a tag to compare

New

  • added: function call support along with an example. This is a breaking change only for chat completion types. #79 #81

New contributors

v0.11.1

21 Jun 06:12
async-openai-v0.11.1
1623af8
Compare
Choose a tag to compare

New

  • added: To fulfill Clone & Debug derives on Client: Derive Debug and Clone on AzureConfig and OpenAIConfig; Config trait requires Clone

New Contributors