Skip to content

2.7.0

Choose a tag to compare

@mkht mkht released this 27 Jan 16:10
· 501 commits to main since this release

2.7.0

  • The retry logic supports with retry-after-ms and retry-after response headers.
  • Add new model names to tab completions.
  • Add -Dimensions param for Request-Embeddings.
  • The exceptions thrown from API requests now have unique type information that differs depending on the error.
    Also, the exception contains the complete response header and contents, not just the message. This allows for more detailed information about the error.
    Currently, PSOpenAI has these type of exceptions.
    • APIRequestException
    • BadRequestException
    • ContentFilteredException
    • UnauthorizedException
    • NotFoundException
    • RateLimitExceededException
    • QuotaLimitExceededException