-
Notifications
You must be signed in to change notification settings - Fork 4
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
windows11系统 运行到 2023/03/07 13:24:16 chatgpt.go:37: 正在调用OpenAI API生成文本... 北京 然后就关闭了 #2
Comments
api.openai.com在中国大陆已不能访问。。 |
开全局代理也不行(哭) |
程序默认不走代理 client := http.Client{
Transport: &http.Transport{
Proxy: http.ProxyURL("http://127.0.0.1:7890"),
},
}
resp, err := client.Do(req) 然后 运行 |
懂了 , 这就去改 , up真是太好了 |
修改/cmd/chatgpt/chatgpt.go为以下内容,可以让程序走http://127.0.0.1:7890,也就是clash的默认端口。虽然我不会go,但ChatGPT会啊,2333
|
给你点赞👍🏻 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
windows11系统
运行到
2023/03/07 13:24:16 chatgpt.go:37: 正在调用OpenAI API生成文本... 北京
然后就关闭了
The text was updated successfully, but these errors were encountered: