gpt4free icon indicating copy to clipboard operation
gpt4free copied to clipboard

Is any provider usable?

Open snow212-cn opened this issue 1 year ago • 6 comments

Known Issues // delete this I have tried each one provider one by one, and none of them seems to work. Some returns 500 errors, some fails to connect, and others times out. I wonder if any other of you have usame issues to me , and if there are any functional providers that someone can use.

snow212-cn avatar Oct 13 '23 02:10 snow212-cn

Maybe it is a issue with your internet connection. There are about 20 Providers. Some of them have to be work.

hlohaus avatar Oct 13 '23 08:10 hlohaus

Are you on the latest version of g4f?

WdR-Tech avatar Oct 13 '23 13:10 WdR-Tech

Right now, there are 15 providers working (2 more providers are also in the work and should be added soon). As @chatgpt-tricks suggested, you may be using an older version of the g4f library. Try to update it using the command:

pip install -U g4f

Then, check again if the providers are working using this code: https://github.com/xtekky/gpt4free/blob/main/etc/testing/test_providers.py

Luneye avatar Oct 13 '23 13:10 Luneye

Right now, there are 15 providers working (2 more providers are also in the work and should be added soon). As @chatgpt-tricks suggested, you may be using an older version of the g4f library. Try to update it using the command:

pip install -U g4f

Then, check again if the providers are working using this code: https://github.com/xtekky/gpt4free/blob/main/etc/testing/test_providers.py

all providers reply 500. tried use vpn same problem and sure i on last g4f

Cuk-o avatar Oct 13 '23 19:10 Cuk-o

I use this code and it seems to work fine with gpt-3.5-turbo, davinci-003 seems to always return ""

code:

` import g4f

response = g4f.ChatCompletion.create(

model="gpt-3.5-turbo",
messages=[
    {"role": "user", "content": "What is your name?"}
],

)

print(response) `

JijaProGamer avatar Oct 15 '23 14:10 JijaProGamer

Bumping this issue because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again.

github-actions[bot] avatar Oct 23 '23 00:10 github-actions[bot]

Closing due to inactivity.

github-actions[bot] avatar Feb 24 '24 00:02 github-actions[bot]