xtekky / gpt4free

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

I'm getting error to solve Bing Captcha! #1326

Closed Seruios closed 10 months ago

Seruios commented 11 months ago

I'm getting error -

g4f.Provider.Bing supports: ( model, messages: Messages, proxy: str = None, cookies: dict = None, tone: str = Creative, image: str = None ) Using RetryProvider provider Using Phind provider Using Liaobots provider Liaobots: ClientResponseError: 500, message='Internal Server Error', url=URL('https://liaobots.work/api/chat') Using Bing provider Bing: Exception: CaptchaChallenge: User needs to solve CAPTCHA to continue. Traceback (most recent call last): File "/root/Seruios/Gpt_test.py", line 18, in response = g4f.ChatCompletion.create( File "/usr/local/lib/python3.10/dist-packages/g4f/init.py", line 79, in create return result if stream else ''.join(result) File "/usr/local/lib/python3.10/dist-packages/g4f/Provider/retry_provider.py", line 59, in create_completion self.raise_exceptions() File "/usr/local/lib/python3.10/dist-packages/g4f/Provider/retry_provider.py", line 87, in raise_exceptions raise RuntimeError("\n".join(["RetryProvider failed:"] + [ RuntimeError: RetryProvider failed: Liaobots: ClientResponseError: 500, message='Internal Server Error', url=URL('https://liaobots.work/api/chat') Bing: Exception: CaptchaChallenge: User needs to solve CAPTCHA to continue.

hlohaus commented 11 months ago

You can try add cookies to the Bing provider

github-actions[bot] commented 11 months ago

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

hussainwali74 commented 10 months ago

make it active, this is an active issue

github-actions[bot] commented 10 months ago

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] commented 10 months ago

Closing due to inactivity.