Replies: 3 comments
-
@huachuman Looks like you just need to follow their Get Started guide and run it at http://localhost:1337, then in Copilot Settings: OpenAI Proxy Base URL, you put in |
Beta Was this translation helpful? Give feedback.
-
Hey there. I'm excited to share how I solved this problem by getting myself a subscription to GPT's, lol. First, we need a FAKE key. You can find a generator online or use this one: Then, replace it in the OpenAI Proxy Base URL with But that's not all! We need to run the server. Docker is handy, but I'm not great with it. From what I understand, making changes to files through Docker isn't that straightforward. So, let's manually download the g4f repository using git or pip. To use the Copilot plugin, we'll need to change one file. If you install and run it as-is, the g4f API server will only accept OPTIONS requests instead of POST, and it won't work. To fix this, you need to edit the init.py file (in my case, it's in user\AppData\Local\Programs\Python\Python310\Lib\site-packages\g4f\api, since I installed it via pip). Here's what to do:
Make sure to keep the indentation correct, it's Python after all. It should look like the screenshot you can find here: Now, you can start the g4f api (by typing those two words in the console). Voila! Everything should be working smoothly. You're awesome! By the way, you can also use NeuroGPT. There are no manipulations with the code, but you need to authenticate through Discord, and there are limits on both the free and paid plans (https://neuroapi.gitbook.io/en/) |
Beta Was this translation helpful? Give feedback.
-
Is all of that necessary? I think I had gotten it working using @logancyang's post IIRC. But gave up because G4F was not outputting quality responses. Also basically the only working model was Bing and even that wasn't working the same as microsoft's official bing chat. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have been trying to figure out how to set this up with g4f: https://github.com/xtekky/gpt4free
Specifically I'd like to use the Bing provider.
Any help on this would be great. I don't really know where to begin.
Beta Was this translation helpful? Give feedback.
All reactions