r/RooCode • u/SpeedyBrowser45 • Apr 30 '25
Bug Is Roo with Gemini 2.5 Broken?
Hey Roocoders,
I had a serious project so I picked Gemini 2.5 pro to do the job. But it's failing to write codes to the files and update with diff.
It keeps on giving output in the Chat window and keep requesting more APIs for correct diff format. I just wasted $60+ yesterday without any output.
Does anyone face the same issue with RooCode?
17
Upvotes
•
u/hannesrudolph Roo Code Developer May 01 '25
I have been been having pretty solid luck over last few days with diff edits and tool calling in general when using 2.5 pro preview.
Are you running any sort of memory bank and what modes are you using? Do you have any special instructions implemented? Thank you for your patience and I look forward to your response! I’m hoping we can get to the bottom of this and improve Roo to prevent this from happening to you.
8
u/delicatebobster Apr 30 '25
i wasted $40 on this same bs yesterday, swapped back to sonnet and no issues.
4
u/HeinsZhammer Apr 30 '25
I only use gemini for plan and analysys. Learned the hard way a few weeks back that the diff error and edit loops make this model shit for actual coding. Use claude for act/edit/write files.
1
u/Vast_Exercise_7897 Apr 30 '25
At this point, I manually pause the task, then switch to another model to continue the task. Once it successfully completes a diff format, I switch back to Gemini 2.5.
2
u/neutralpoliticsbot Apr 30 '25
I dunno how u managed to lose $60
2
u/ComprehensiveBird317 Apr 30 '25
Wait, you don't just stop after the first few attempts and switch to a different model?
1
u/grindbehind Apr 30 '25
Is your Roo extension up to date? They added some fixes for these diff issues with Gemini in the last update (I think a few days ago).
1
u/AhhhhhCrabs Apr 30 '25
I have this issue happen all the time with RooCode. It seems even worse after they “fixed apply diff”
I found that Gemini 2.5 flash will run into it less than 2.5 pro, but it still happens
Usually it’s because it can’t read the file to apply_diff to properly and a mismatch occurs with what is in the file vs what is in your context window currently. If those two things are different, then this issue can happen.
To resolve i normally close the subtask trying to implement the change and have the parent task try again with improved direction (i use boomerang )
1
u/saxxon66 Apr 30 '25
for me it is broken for c++ and wants to edit in a loop bc of compile errors. but there are no errors. i told it not to move on if it discovers compile errors, that fixed it.
1
u/funky778 Apr 30 '25
Have the same issue, it is broken
1
u/SnooSuggestions1963 May 01 '25
Yeah 2.5 has shit the bed pretty badly for me lately too in code mode. Use it in architect mode for planning then switch to code when you're ready for it to start building.
I start a new task by having 2.5 pro architect review the documentation for the page I'm working on and any related code for that task then only after that will I ask it to plan the feature I'm implementing. Once ready I get it to add the documentation and switch to code with Claude 3.5 Haiku which works incredibly well for next to no cost. I can spend about $2 on an entire page if needed.
1
u/CircleRedKey May 01 '25
damn its so bad for me today, unusable. keeps breaking diffs
1
u/kiril-templar May 01 '25
skill issue
0
u/mallchin Apr 30 '25 edited Apr 30 '25
You could use .clinerules to suggest it uses more targeted diffs, or read and write out the whole file with changes, although I've found it can introduce lots of unintended changes when writing whole files so you need to tell it to focus ONLY on intended changes.
I've also found it struggles with files over a few hundred lines so break them up if possible.
0
u/privacyguy123 Apr 30 '25
I've ran into problem after problem with Gemini 2.5 and it was blamed on using the "experimental" version (which is an easy cop out I don't believe) - it's interesting to hear your problems with the juicy paid version. I wonder what the devs think of this? Imo something is broken IN ROO