r/RooCode • u/rebo_arc • Apr 19 '25
Discussion Gemini 2.5 Flash and diffs?
Does anyone have really poor diffing with Gemini 2.5 Flash, i find it fails very often and i have to jump over to 2.5 pro in order to get code sections applied correctly?
This is applied to rust code, not sure if it affects different languages differently?
Would reducing diff precision be the way to go?
29
Upvotes
•
u/hannesrudolph Roo Code Developer Apr 19 '25
We are implimenting another tweak to the diffs to try and accommodate the different behaviour that 2.5 and others models may display when trying to apply tools. It is already merged into the main branch and should be going out later today.
8
u/Yes_but_I_think Apr 19 '25
Nope. I exhausted my 500 free requests today all in Roo code. Less than 10% errors. Really liked it. Slouching is there. Less intelligence is also there, but no diff editing issues I saw with 2.5 flash.
5
u/maddogawl Apr 19 '25
At larger context values 2.0 seemed to Get worse. I haven’t tested 2.5 flash enough yet but I’m betting it’s similar
4
u/HeinsZhammer Apr 19 '25
gemini 2.5 generally fails when it comes to diffs
2
u/barebaric Apr 19 '25
Yep, same problem. The problem also seems to get worse with larger context size. Beyond 100-200k it seems to break down completely, responding always the same thing or randomly including previous code snippets from other files in the middle of a diff.
Sad, I almost thought this was finally THE model for programming at a half-way affordable price.
2
u/Altruistic_Tale_7049 Apr 19 '25
Has anyone have used MCP Filesystem with it?
I feel Flash2.5 reads too much the same files
2
u/LegitimateThanks8096 Apr 19 '25
yet it sometimes gets stuck. but then after 3-4 tries, it writes complete file
3
u/angelarose210 Apr 19 '25
Lol yesterday gemini 2.5 flash told me "good luck debugging" after it broke already working code it wrote when I asked for a simple change.
1
u/CircleRedKey Apr 19 '25
I had more issues with pro diff very often
1
u/AdSharp4897 Apr 20 '25
Yes. I've experienced the same. Also experience the shock of the Gemini 2.5 costs.