Skip to content
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自定义代理地址异常问题 #26

Open
dontlove14 opened this issue Apr 7, 2024 · 1 comment
Open

关于使用openai自定义代理地址异常问题 #26

dontlove14 opened this issue Apr 7, 2024 · 1 comment
Assignees

Comments

@dontlove14
Copy link

image
您好,因为我目前所处中国境内.为了保证可以正常使用openai的所有服务,我们对openai的地址做了代理.我查看readma发现咱们项目可以使用自定义openai代理,所以我构建如图的代码测试.但是报错如下:
image
我确认我们的代理是可以正常请求的:
image
请求改问题是否因为我的错误使用导致又或是其他问题.
感谢

@tazarov tazarov self-assigned this May 27, 2024
@SharlyCheung
Copy link

hello,你的问题看起来并不是OpanAI无法连接,移除代码 client.reset();

It doesn't seem like your issue is that OpenAI cannot connect. Remove the code client.reset();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants