Releases: epam/ai-dial-adapter-openai
Releases · epam/ai-dial-adapter-openai
0.14.0
Features
- added
code=truncate_prompt_error
to errors raised by prompt truncation algorithm (#142)
Fixes
- token usage isn't computed if upstream model has itself reported it (#138)
- changed type of
created
field in chat completion chunk from str to int (#141)
- improved display of DIAL links leading to the
public
bucket (#148)
Other
- bump aidial-sdk from 0.8.0 to 0.13.0 (#142)
- bump aiohttp from 3.9.4 to 3.10.2 (#143)
- bump cryptography from 42.0.5 to 43.0.1 (#146)
0.13.2
Fixes
- disabled retries in openai client accidentally introduced in 0.13.0 (#144) (#145)
0.13.1
Other
- bump setuptools from 68.2.2 to 70.0.0 (#134)
- bump epam/ai-dial-ci from 1.8.3 to 1.9.0 (#136)
0.13.0
Features
- supported completions (legacy) endpoints (#124, #127, #126, #129)
- supported deployment ids with colons (#125)
Fixes
- failing with user-facing error in case of an incorrect GPT-4 Vision request (#131)
- fixed content violation error handling for Dall-E-3 (#128)
- fixed token renewal logic (#120)
Other
- migrated from openai=0.28.1 to openai=1.33.0 (#105, #121)
- bump certifi from 2023.7.22 to 2024.7.4 (#132)
- bump epam/ai-dial-ci from 1.8.1 to 1.8.3 (#130)
- bump urllib3 from 2.0.7 to 2.2.2 (#119)
- bump zipp from 3.18.1 to 3.19.1 (#133)
- changed ownership (#123)
0.12.0
Features
- add display_message support for user-facing errors (#111)
- supported gpt4o models (#107)
GPT-4o models should be declared as a comma-separated list via GPT4O_DEPLOYMENTS
env vars
Other
- bump azure-identity from 1.15.0 to 1.16.1 (#115)
- bump epam/ai-dial-ci from 1.8.0 to 1.8.1 (#117)
- bump msal from 1.27.0 to 1.28.0 (#116)
- bump requests from 2.31.0 to 2.32.0
- bump tqdm from 4.66.1 to 4.66.3 (#102)
0.11.0
Features
- migrated to the latest SDK and supported export to OTLP (#99)
- supported Databricks chat completions and embeddings models (#96) (#95)
Other
- bump aiohttp from 3.9.2 to 3.9.4 (#100)
- bump idna from 3.4 to 3.7 (#97)
- bump pillow from 10.2.0 to 10.3.0 (#93)
0.10.0
Features
- Support azure mistral large (#80) (#87)
0.9.1
Features
- Support 0.6 version of Dial API (#86)
0.9.0
BREAKING CHANGES
- The API version for requests to DALL-E-3 controlled via env variable
DALLE3_AZURE_API_VERSION
now (#82) (#84)
- The API version for requests to the models passed from the user request (#67) (#79)
Features
- Support available credentials providers for Azure OpenAI (#74) (#75)
- Mode for fixing the issue with the empty choices list (#83) (#84)
- Supported env variable
API_VERSIONS_MAPPING
to change API version in the user requests (#67) (#79)
Fixes
- Supported empty choices array during streaming with new API versions (#81)
0.8.0
Fixes
- fixed handling of max_prompt_tokens parameter (#68)
- made all errors caused by truncate_prompt algo have 400 status code (#73)
- turned discarded_messages into a list of indices (#69)