-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openai.error.APIConnectionError: Error communicating with OpenAI #8
Comments
@YaxinFAN1, thank you for your interest in our work!!! I just modified the openai_wrapper to catch If this doesn't work, the issue is likely still related to the proxy, as I mentioned in this isse. We are working diligently to enable users to use open source models rather than the OpenAI API. Stay tuned! Let me know if you have any more questions! Thank you! |
Hi, thank you for your reply. You are right, it is indeed the proxy problem. I didn't set the proxies successfully before. When I set the proxies as follows, it worked.
Thanks for your awesome contributions!!! |
Hey @YaxinFAN1 @EthanC111 - why proxy the openai base? for supporting local models like llama2 wouldn't they need to be deployed on GPUs / deployment providers - which have their own client libraries? |
Hello, I encountered the following error.
I run the following code and it's ok.
I also tried the following solutions and they all failed.
https://zhuanlan.zhihu.com/p/611080662
https://blog.csdn.net/weixin_43937790/article/details/131121974
So, how to solve this problem?
The text was updated successfully, but these errors were encountered: