You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To implement the recently added hotfix in the install_requires for the OpenAI dependency in the PythonSDK, you should specify the exact version of the OpenAI package that contains the hotfix. According to the CHANGELOG.md, the hotfix is in version v0.1.51 of the OpenAI package.
You would update the install_requires section in your setup.cfg file to include openai>=0.1.51,<2.0 instead of the current openai>=1.0,<2.0 under [options.extras_require]. Here's how you can do it:
Please note that the OpenAI dependency is listed under [options.extras_require] for development dependencies and not directly in the install_requires. If you intend for this hotfix to be a part of the main dependencies, you should add it to the install_requires section as shown above.
If you have any further questions or need more assistance, feel free to ask.
Hotfix: add openAI in install_requires
The text was updated successfully, but these errors were encountered: