gpt4free icon indicating copy to clipboard operation
gpt4free copied to clipboard

# GPT4FREE Compatibility Issue with AI Coding Tools

Open MasterDJ-Crypto opened this issue 5 months ago • 3 comments

GPT4FREE Compatibility Issue with AI Coding Tools

I've been trying to get GPT4FREE to work with cline/roocode/kilocode. But none of them seem to know how to use GPT4FREE.

It's Not a Setup Issue

I don't mean I can't set it up. No, I have everything connected. It's using the base URL, everything works. The models work.

The Actual Problem

But the problem is that when you try to actually use it, the models can't use it. For example, if it tries to use a tool, it doesn't work. It just outputs it in the chat. If it tries to do anything, it just doesn't work. And then it just randomly starts hallucinating.

Example:

I said "hello" and it said "hello blah blah blah." But then cline said, "Oh, you didn't use a tool, you were supposed to use a tool."

And then it started hallucinating. "Oh, okay, I understand, you want a modern responsive webpage for blah blah blah." And then it said, "Oh, but you didn't use a tool, or whatever."

Then they did it for the third time, and it was able to do the task, close the thing, but it hallucinated so much. And this was using a relatively good model, G L M 4.6.

My Question

I just want to ask, is there any way to make GPT4FREE actually usable inside of cline or roocode or kilocode? Or if we can build something which actually makes it work with those, because I think GPT4FREE would be like very, very popular, like super popular, if it were work inside these AI coding tools.

Maybe you could even start using it inside Cursor.

Originally posted by @MasterDJ-Crypto in https://github.com/xtekky/gpt4free/discussions/3230

MasterDJ-Crypto avatar Nov 02 '25 16:11 MasterDJ-Crypto

This doesn't affect G4F in any way. It depends on the instructions issued by the IDE or Extension itself. If the AI ​​can't use them, it means it doesn't know how to use that IDE or Extension. This should be configured within the IDE and Extension. For example, in Volt, there's a checkbox that passes instructions. In Cline, the instructions prompt is always visible when there's an API request, and you can simply copy it.

TheFirstNoob avatar Nov 03 '25 15:11 TheFirstNoob

The majority of Integrated Development Environments (IDEs) leverage tool APIs for coding functionalities. For instance, providers such as GeminiCLI and QwenCode offer support for ToolCalls, utilizing the APIs from their respective applications.

@MasterDJ-Crypto

hlohaus avatar Nov 03 '25 16:11 hlohaus

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] avatar Nov 11 '25 00:11 github-actions[bot]

Closing due to inactivity.

github-actions[bot] avatar Nov 19 '25 00:11 github-actions[bot]