-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Description
Before submitting
☑️ I checked Known Issues
☑️ I searched existing issues
Configuration
(Required)
- Model:**any on arena
- Provider:**
- Interface:** (CLI/API/Web UI/Other)
Bug description
Clear steps to reproduce:
just uh make a request to the lm arena provider via g4f.dev i guess?
2. Environment location:
(e.g., Germany
- Cloudflare restrictions may apply)
3. Observed behavior vs expected:
Environment
docker
Screenshots/Logs
pt4free_1 | ERROR:g4f.gui.server.api:Response 404: HTML content gpt4free_1 | Traceback (most recent call last): gpt4free_1 | File "/app/g4f/gui/server/api.py", line 199, in _create_response_stream gpt4free_1 | for chunk in result: gpt4free_1 | File "/app/g4f/tools/run_tools.py", line 341, in iter_run_tools gpt4free_1 | for chunk in provider.create_function(model=model, messages=messages, provider=provider, **kwargs): gpt4free_1 | File "/app/g4f/providers/asyncio.py", line 56, in to_sync_generator gpt4free_1 | yield loop.run_until_complete(await_callback(gen.__anext__, timeout)) gpt4free_1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt4free_1 | File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete gpt4free_1 | return future.result() gpt4free_1 | ^^^^^^^^^^^^^^^ gpt4free_1 | File "/app/g4f/providers/asyncio.py", line 38, in await_callback gpt4free_1 | return await asyncio.wait_for(callback(), timeout) if timeout is not None else await callback() gpt4free_1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt4free_1 | File "/usr/lib/python3.12/asyncio/tasks.py", line 520, in wait_for gpt4free_1 | return await fut gpt4free_1 | ^^^^^^^^^ gpt4free_1 | File "/app/g4f/Provider/needs_auth/LMArena.py", line 325, in create_async_generator gpt4free_1 | await raise_for_status(response) gpt4free_1 | File "/app/g4f/requests/raise_for_status.py", line 53, in raise_for_status_async gpt4free_1 | raise ResponseStatusError(f"Response {response.status}: {'HTML content' if is_html else message}") gpt4free_1 | g4f.errors.ResponseStatusError: Response 404: HTML content
Additional context
Proxy/VPN usage? Special config? Other providers working? yes other providers from nodriver working