-
-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Description
Hi,
I’m running the G4F GUI locally with the following command:
python3 -m g4f.cli gui --port 8080
and accessing it at 127.0.0.1:8080. I want to use only my own OpenaiChat.har file and a specific OpenaiChat provider for all requests.
Even after removing the MCP server URL (https://mcp.g4f.space/mcp) from the settings, the GUI still tries to fetch data from it and repopulates the provider/model lists. This is confusing because the provider (OpenaiChat) I want to use does not appear in the MCP list at all, yet the GUI keeps trying to pull MCP data. Essentially I want to limit the GUI providers to the way I do it in my cli script: from g4f.Provider import OpenaiChat
My question is:
How can I configure or modify the GUI to completely ignore MCP / external servers?
I want the GUI to only show my local provider and models based on my HAR file, without any third-party network calls.
Thanks in advance!