-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
TypeError: fetch failed (can't connect to OpenAI Api) #34
Comments
状态码 500 |
我也 |
clash的话,可以先开启增强模式; |
error fetch failed |
同样报错,有大神指导一下吗 |
用cf_worker反代apenai api 替换掉https://api.openai.com 代码
使用curl --location 'https://openai.1rmb.tk/v1/chat/completions' \
--header 'Authorization: Bearer sk-xxxxxxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-3.5-turbo",
"messages": [{"role": "user", "content": "Hello!"}]
}' |
|
部署到google云,访问api/generate接口, 报500异常 |
感谢,已成功 |
大哥给看看我这个是什么原因啊~ |
clash是装在个人电脑里, 做代理的话岂不是只有局域网内的才能代理? 没太理解clash代理,求科普 |
加了key以后,一直connect error的错误。求救。。。
The text was updated successfully, but these errors were encountered: