Open jalotra opened 1 year ago
Hi,
Which OS are on ? I will try to add a flag for --no-verify
in the next release. Need to check if I can overide the reuquest being sent. I will keep you posted. Thanks 😀
hey I can contribute this change, CPU details : macOS running Monterey with Python 3.9 Processor : Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Looked more into this, looks like OpenAI always checks for ssl certs. Permalink
Yup .. but there are work arounds and I am look into it
Update :
Was not able to run with https:// enabled because setting session.verify
to False also didn't worked.
Changed the default adapter to http:// over here, rebuild openai-python
and then use the package in prompt
and also disable warnings for using http:// that openai-python is throwing.
Example Conversation :
Great stuff! I guess I have to wait for a fix from openai-python
If you look at the dallecli that i created it uses the requests kodule to send the final request to generate images. Its not the same here. If it was i could simple provided no verify to the requests object. 🤔
If you look at the dallecli that i created it uses the requests kodule to send the final request to generate images. Its not the same here. If it was i could simple provided no verify to the requests object. 🤔
Yes, that could be possible, but then you would have to call the API directly and not use the lib call the openai-python is providing right now, I think adding that capability is not a great use of time right now. Let's try to add more features, if more users see this issue could add them in the coming weeks.
I will follow the openai issues page and see if they have a fix for this in upcoming versions.
This issue is already been discussed here : https://community.openai.com/t/ssl-certificate-verify-failed/32442/13?page=2 Tried all the methods, still not working.
StackTrace :