Multiple diffs craziness on @editor call #973
Replies: 9 comments 15 replies
-
Holy cow. What on earth did the XML output from the LLM look like? |
Beta Was this translation helpful? Give feedback.
-
@olimorris I have been able to reproduce this problem stably. As shown below codecompany_diff_buffer.mov |
Beta Was this translation helpful? Give feedback.
-
Thanks for this all. I'm in the middle of refactoring tools. So I will make sure I address this in the next month or so. In the meantime, feel free to make a PR for this. |
Beta Was this translation helpful? Give feedback.
-
This discussion brings up the same pain point and @cairijun actually came up with an improved buffer editing tool: Might provide a solution until @olimorris or someone else has the bandwidth to address this. |
Beta Was this translation helpful? Give feedback.
-
This is minimal reproducible prompt (at least with Claude Sonnet 3.7):
|
Beta Was this translation helpful? Give feedback.
-
Hi All. Opening this up to the Community for help. Now I've merged function calling into the plugin and we have awesome tools like MCP Hub and VectorCode, I'm hoping this is an enhancement someone would want to pick up. In speaking to people over the past few months, a common ask has been for users to be able to "step-through" any buffer edits, individually. Currently the editor tool just shows multiple edits as one big change. It's possible the queue system I built for agents and tools could be used for this purpose. |
Beta Was this translation helpful? Give feedback.
-
I also have this, I thought it was because I did something wrong. Not only it opens 2-5 buffers but the output also seems to have repeated lines? |
Beta Was this translation helpful? Give feedback.
-
@olimorris What do you think about this editor tool? code_editor.mp4For every edit, we queue it up and user can tab through (or For the tool I showcased, it's not perfect, but almost ready to publish :) |
Beta Was this translation helpful? Give feedback.
-
Release |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Sometimes, when I ask the code companion to update
@editor
with suggestions, I get this unexpected result:Any idea what I'm doing wrong? Why doesn't it bundle those changes into a single change presented within a single diff view?
Beta Was this translation helpful? Give feedback.
All reactions