Files
mistralai-client-rs/CHANGELOG.md
2024-03-05 02:49:52 +01:00

3.1 KiB

(2024-03-05)

⚠ BREAKING CHANGES

    • Rename ClientError.ApiKeyError to MissingApiKey.
  • Rename ClientError.ReadResponseTextError to ClientError.UnreadableResponseText.

Bug Fixes

  • fix failure when api key as param and not env (ef5d475)

0.6.0 (2024-03-04)

⚠ BREAKING CHANGES

  • You can't set the stream option for client.chat*().

Either use client.chat_stream() if you want to use streams or use client.chat() / client.chat_async() otherwise.

Features

  • add client.chat_stream() method (4a4219d)

0.5.0 (2024-03-04)

Features

  • add client.embeddings_async() method (3c22891)
  • add client.list_models_async() method (b69f7c6)

0.4.0 (2024-03-04)

⚠ BREAKING CHANGES

  • Client::new() now returns a Result.
  • APIError is renamed to ApiError.

Features

  • add client.chat_async() method (1dd59f6)
  • add missing api key error (1deab88)
  • wrap Client::new() return in a Result (3387618)

0.3.0 (2024-03-04)

⚠ BREAKING CHANGES

  • Models are now enforced by Model & EmbedModel enums.

Features

  • add client.embeddings() method (f44d951)

0.2.0 (2024-03-03)

⚠ BREAKING CHANGES

  • Chat completions must now be called directly from client.chat() without building a request in between.

Features

  • add client.list_models() method (814b991)
  • simplify chat completion call (7de2b19)

0.1.0 (2024-03-03)

Features

  • add chat completion without streaming (7d3b438)