[Manggo][BUG]: OpenAI Request path sends incorrect data, the same as #707 related to pot

Author: iG8RCreated Aug 10, 2026Updated Aug 24, 2026
Labelstype: bug

Description

The same as #707 related to pot I use gpt4free https://github.com/xtekky/gpt4free/ as a proxy for the Gemini service in pot. If I input the following request path http://127.0.0.1:8080/v1/chat/completions this service works just fine. But, if I add some parameters that supported by gpt4free, e.g. http://127.0.0.1:8080/v1/chat/completions?provider=Gemini then I always get an error:

Provider with label 'Gemini/chat/completions' not found

and g4f displays in the log:

INFO:     10-08-2026 12:40:37.792 - 127.0.0.1:61875 - "POST /v1/chat/completions?provider=Gemini/chat/completions HTTP/1.1" 404 Not Found

Reproduction

  1. Install gpt4free from https://github.com/xtekky/gpt4free/ or pip install g4f
  2. Start the g4f API g4f api
  3. Fill in the request path of the OpenAI service as http://127.0.0.1:8080/v1/chat/completions?provider=Gemini
  4. Try to add this service.

Platform

Windows

System Version

Microsoft Windows [Version 10.0.19045.2673]

Window System (Linux Only)

None

Software Version

0.7.6

Log File

No response

Additional Information

No response