Skip to content

Commit

Permalink
vdk-smarter: pin openai version to 0.28 (#2886)
Browse files Browse the repository at this point in the history
What: OpenAI introduced v1.0.0 of their Python API library. This new
major SDK version comes with some breaking changes. The idea of this
change is to pin openai version to 0.28 in order to have green CI/CD
pipelines until we migrate.

Why: To fix the pipeline.

Testing Done: locally.

Reference for future migration:
openai/openai-python#742

Signed-off-by: Yoan Salambashev <[email protected]>
  • Loading branch information
yonitoo authored Nov 9, 2023
1 parent 500980e commit 80c5ed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/vdk-plugins/vdk-smarter/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# this file is used to provide testing requirements
# for requirements (dependencies) needed during and after installation of the plugin see (and update) setup.py install_requires section

openai
openai==0.28

pytest
pytest-httpserver
Expand Down

0 comments on commit 80c5ed7

Please sign in to comment.