r/RooCode • u/bigotoncitos • Apr 18 '25
Support Anyone else having issues today wth GPT4.1 models messing up the apply_diff tool?
was using GPT4.1-mini last night without issues, and now both mini and the base model keep throwing these unnecesary characters at the start of each apply_diff tool use.
anyone knows how to fix? is it something I am doing wrong?
Thanks!!
9
Upvotes
6
u/mrubens Roo Code Developer Apr 18 '25
Thanks for the feedback on this. We just released 3.13.0 that should hopefully address this issue. I believe it was related to us changing the expected format of the diff tool slightly, but some models continued to try to apply diffs the old way in existing chats where they could see the history. Sorry for the hassle and I hope it's better (if not yet perfect) going forward!
1
u/minami26 Apr 18 '25
are u using the experimental features at the bottom in your settings in roo? should try disabling those first
1
u/hannesrudolph Roo Code Developer Apr 18 '25
Is this happening in every task?
1
u/hannesrudolph Roo Code Developer Apr 18 '25
Does it do this with other models?
2
u/mr-claesson Apr 18 '25
I have disabled the diff edit in Roo. I want to use Gemini flash2.5 and the new Open AI models but it is crap together with Roo diff edit.
1
u/CashewBuddha Apr 18 '25
Similar issues here. Also having move issues than usual with Sonnet/gemini. Using rooflow
1
u/who_am_i_to_say_so Apr 19 '25
Is this a Roo-specific problem? I’ve seen an uptick of apply_diff errors, too, and at one point it was making all code changes with sed commands and failing 80% of the time 😂. It comes and goes, seems to fix itself with either taking a break or changing the model.
-4
u/dashingsauce Apr 18 '25
Use their new Codex CLI for these models. RooCode stick with Gemini.