xtekky / gpt4free

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

Captcha error for GPT-4 #1284

Closed OmiiiDev closed 9 months ago

OmiiiDev commented 9 months ago

Issue for url: https://liaobots.work/api/chat

Bug description When choosing the GPT-4 model and sending it a message, it prompts yo to do a captcha test to use the api....

Steps to reproduce

  1. Select GPT-4 Model
  2. Enter user prompt and send it
  3. See Captcha error

Error in text version: ERROR:root:RetryProvider failed: Phind: TypeError: Binary Location Must be a String Liaobots: ClientResponseError: 500, message='Internal Server Error', url=URL('https://liaobots.work/api/chat') Bing: Exception: CaptchaChallenge: User needs to solve CAPTCHA to continue. Traceback (most recent call last): File "/home/runner/gpt4free/.pythonlibs/lib/python3.10/site-packages/g4f/api/init.py", line 85, in chat_completions response = g4f.ChatCompletion.create( File "/home/runner/gpt4free/.pythonlibs/lib/python3.10/site-packages/g4f/init.py", line 76, in create return result if stream else ''.join(result) File "/home/runner/gpt4free/.pythonlibs/lib/python3.10/site-packages/g4f/Provider/retry_provider.py", line 59, in create_completion self.raise_exceptions() File "/home/runner/gpt4free/.pythonlibs/lib/python3.10/site-packages/g4f/Provider/retry_provider.py", line 87, in raise_exceptions raise RuntimeError("\n".join(["RetryProvider failed:"] + [ RuntimeError: RetryProvider failed: Phind: TypeError: Binary Location Must be a String Liaobots: ClientResponseError: 500, message='Internal Server Error', url=URL('https://liaobots.work/api/chat') Bing: Exception: CaptchaChallenge: User needs to solve CAPTCHA to continue.

xtekky commented 9 months ago

Hi, I will be reviewing the gpt4free infrastructure and providers this weekend, expect a major update.

Luneye commented 9 months ago

will try to update the bing code when i'll have more free time

github-actions[bot] commented 9 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 9 months ago

Closing due to inactivity.