gpt4free
gpt4free copied to clipboard
Error
Hi there. Everytime I use g4f it starts well but after a few questions I get this error "An error occured, please try again, if the problem persists, please use a other model or provider". I've tried all models and providers but I still get the error after a while. I've toggled on and off Web Access and tried a VPN but I still get the error after a while. My internet is alright so I don't think the internet is the problem.
The errors are log to the browser console. What are the error message?
Hi. G4f started working alright but I had to reinstall it and now I'm getting this output: Traceback (most recent call last):
File "/home/.pyenv/versions/3.10.4/bin/g4f", line 5, in
I'm kinda new to this can you tell why i'm getting this ouput
Same error for me
Try to update your installation
Updating solved it. Now i have "vercel is not working"
import g4f
allowed_models = [
'code-davinci-002',
'text-ada-001',
'text-babbage-001',
'text-curie-001',
'text-davinci-002',
'text-davinci-003'
]
prompt = "What"
response = g4f.Completion.create(
model='text-davinci-003',
prompt=prompt
)
print(response)
Use ChatCompletion not Completion. Then you can use a other Provider.
Bumping this issue because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again.
Closing due to inactivity.