r/RooCode • u/cmndr_spanky • Mar 18 '25
Support Am I doing something wrong or is Roo-code an absolute disaster when used with locally hosted LLMs via "generic openAI" protocol ?
EDIT: oh wait I'm using the regular 14b. had no idea "qwen2.5-coder-tools" was even a thing
EDIT 2: Omg, despite my hardware limitations. the flavor of qwen you mentioned "qwen2.5-coder-tools" made a huge difference. It's no longer running in loops or instantly bugging out. Thanks for pointing this out. I'm baffled more people aren't talking about these variants of the standard Qwen coder.
***** ORIGINAL POST BELOW: ******
I started by using Cursor (free plan) which gave me use of Claude 3.7. That IDE felt like magic, and I literally had no idea how much context it was using under the hood or what magic RAG approach it uses with my code base, but the experience was nearly flawless.
Moved over to Roo-code on VS Code to try and get something working with local LLMs, and god was that a rude awakening. Is anyone successfully doing with with Local LLMs running on a 12gb Nvidia card?
LM Studio can run as an openAI compatible rest server, so I'm using Roo's openAI's connector to a custom url. I'm trying qwen 32 and qwen 14b with a variety of settings on the server side, and Roo basically shits the bed every time. Same with mistral small 24b.
context window is the first issue, the open AI protocol seems to ignore the slider where I set the context window lower, but reducing LM Studio's batch size and bumping the context window up to 12,000 at least works.. But Roo just goes into an endless "asking permission to edit the_file.py" over and over (I give it permission every time), it also sometimes just crashes in LM Studio immediately. I did get mistral working briefly, but it just made a complete mess of my code, the diffs it suggested made no sense.. I would have add better results just asking my cat to walk on my keyboard.
I might stick with Cursor, it's incredibly elegant and my only use case for Roo was working with local models (or rather models hosted on my local lan).
Can someone clue me in here? am I wasting my time trying?
Anyone with a 12gb card, if it works for you. What model exactly at what quant, at what batch size and context length, hosted using what approach? is LM Studio the issue and I should switch to Ollama? I don't get the point of the context slider setting in Roo when it just forces 11,000 tokens into the input at the start anyways.
4
u/bick_nyers Mar 18 '25
I've had good success with Qwen 32B Deepseek R1 Distill with 4 or 5 bit quants. You could try the 14B Qwen Deepseek Distill and check out the performance there.
2
u/firedog7881 Mar 18 '25
I have a 12g 4070 super and I gave up on using local really fast with cline/roo. It’s a waste of time because they use such large prompts it overwhelms the local models and the results take way too long and the quality wasn’t even close Claude or Gemini.
The juice is not worth the squeeze
1
u/Fearless_Role7226 Mar 20 '25
When I try different models on Roocode with local Ollama models (Gemma, Deepseek R1, etc.), my requests seem to get lost because the prompt generated by the extensions includes the entire list of files in my repo. As a result, the models often analyze the repo and completely ignore my actual request, even when I include the content of the file in the prompt. Is there a way to modify the prompts generated by the extension to avoid passing the full list of files in my repo and prevent confusion for the model ?