module 'openai' has no attribute 'error'
Sorry to bother you. When I run the interaction.py file, I met the problem "State 1 failed. Cause: module 'openai' has no attribute 'error'". I have installed the openai == 0.28.1, is it the correct version? how can i solve this problem. Thank you so much!
We are now currently using openai-python v1.6.1 and have updated the querying functions in ChatGPT.py. @Yhc-777
Thank you so much! After using the updated code, I still have a problem: "Processing state1 - Coarse-grained planning[0m API call failed. Retring 1/20..." My GPT version is: GPT-3.5 turbo. How can i solve this problem. Thank you so much.
Maybe this error came from a typo in the GPT model name. We have tried fixing this bug. Now you can try again. Any more questions, feel free to ask us😊 @Yhc-777