NON906 / sd-webui-chatgpt

This is a repository for conversations using OpenAI API (compatible with ChatGPT) or llama.cpp in Stable Diffusion web UI.
MIT License
41 stars 7 forks source link

Hotfix: Pin openai package to version 0.28.1 to restore functionality #6

Closed ychoi-kr closed 11 months ago

ychoi-kr commented 11 months ago

The openai package version 1.0.0 introduced breaking changes that caused AttributeError in sd-webui-chatgpt. This hotfix pins the package version to exactly 0.28.1 to quickly restore the system to a working state. Further changes will be needed to upgrade the code for compatibility with openai >=1.0.0.