omar92 / ComfyUI-QualityOfLifeSuit_Omar92

extra nodes to be used in comfyUI
112 stars 15 forks source link

openai.ChatCompletion in Openai 1.0.0 #29

Open LuisBurdallo opened 5 months ago

LuisBurdallo commented 5 months ago

Error occurred when executing ChatGPT Simple _O:

You tried to access openai.ChatCompletion, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API.

You can run openai migrate to automatically upgrade your codebase to use the 1.0.0 interface.

Alternatively, you can pin your installation to the old version, e.g. pip install openai==0.28

A detailed migration guide is available here: https://github.com/openai/openai-python/discussions/742

LuisBurdallo commented 5 months ago

Should we upgrade to 1.0.0 or pin and go back to 0.28? Can the nodes be updated to avoid this issue?