xtekky / gpt4free

The official gpt4free repository | various collection of powerful language models
https://g4f.ai
GNU General Public License v3.0
62.47k stars 13.4k forks source link

An error occurred: failed to do request: #279

Closed Maddaxman closed 1 year ago

Maddaxman commented 1 year ago

I have already done a git pull for the latest version, but I am still getting an error. How can I solve this?

image
agang-php commented 1 year ago

i have the same problem

FrankDiao commented 1 year ago

You need to set the proxy here:gpt4free.you.Completion.create Like this:

image
QKJIN commented 1 year ago

Yes. It can work when I added the proxy(tips: remember the port is your agent port to outside which maybe not 7890). Thank you very much. @FrankDiao

elven2016 commented 1 year ago

You need to set the proxy here:gpt4free.you.Completion.create Like this: image

this works,thanks very much