Skip to content

Version 0.4.1

Compare
Choose a tag to compare
@peterbanda peterbanda released this 18 Jul 19:53
· 635 commits to master since this release
  • Retries:
    • RetryHelpers trait and retry adapter implementing non-blocking retries introduced (thanks @phelps-sg).
    • RetryHelpers - fixing exponential delay, logging, fun(underlying) call, removing unused implicits.
    • New exceptions introduced (OpenAIScalaUnauthorizedException, OpenAIScalaRateLimitException, etc) with error handling/catching plus "registering" those that should be automatically retried.
    • ⚠️ Old/deprecated OpenAIRetryServiceAdapter removed in favor of a new adapter in the client module (migrate if necessary).
  • Support for "OpenAI-API-compatible" providers such as FastChat(Vicuna, Alpaca, LLaMA, Koala, fastchat-t5-3b-v1.0, mpt-7b-chat, etc), Azure, or any other similar service with a custom URL. Explicit factory methods for Azure (with API Key or Access Token) provided.
  • Scalafmt and Scalafix configured and applied to the entire source base.
  • Fixing test dependencies (e.g., akka-actor-testkit-typed, scala-java8-compat) and replacing mockito-scala-scalatest with scalatestplus mockito.
  • Configuring GitHub CI with crossScalaVersions, newer Java, etc. (thanks @phelps-sg)