eca icon indicating copy to clipboard operation
eca copied to clipboard

When in `plan` behavior mode the assistant thinks it has really edited something when it hasn't

Open Ramblurr opened this issue 1 year ago • 5 comments

When in plan behavior mode the assistant thinks it has really edited something when it hasn't

Image

As you can see it used the preview change tool then declared success. Maybe this is a me problem, but coming from other tools like codex and claude-code, I had the expectation that it would show me what it wanted to do, then tell me something like "Ok, if you're happy with that I can implement it in agent mode"

Ramblurr avatar Sep 30 '25 15:09 Ramblurr

Hum, this is a model/prompt tunning issue, in plan mode we offer a tool to preview the change and we explicitly mention about that, but even so LLM inferred that this was a change that was applied in the code.

c/c @zikajk

ericdallo avatar Sep 30 '25 20:09 ericdallo

@Ramblurr Which model was it? I'll look into it.

At this point, the plan isn't followed by any call to implement it, as you're used to with CC. Personally, I find that a bit annoying with CC because in most cases, I'm not happy with the first draft of the plan. Also, we support custom behaviors, so we would also need a configuration for which behavior should be triggered after you are satisfied with the plan. But there is certainly room for improvement here.

zikajk avatar Oct 01 '25 05:10 zikajk

Which model was it? I'll look into it.

claude-sonnet-4-5-20250929

Personally, I find that a bit annoying with CC because in most cases, I'm not happy with the first draft of the plan.

Yes, I totally agree with this now that I reflect more on it. I rarely took the plan suggestion, and even more often perhaps I wanted the model to just not edit anything, gather some context, then have a conversation with me about some bit I was brainstorming, in which case the fact it was constantly proposing edits because of its "plan mode" prompt was quite annoying.

So, the phrasing in my original issue notwithstanding, I don't think I'm really asking for a "plan [...] followed by any call to implement it."

I guess what bothers me more in my screenshot above, is that the agent thought it had already executed the change, even though it hadn't. If one is switching between plan and agent modes it is important for the context chat history to show what really happened and what didn't. And the model telling itself it did a good job and really did the thing, only for me to switch behaviors and say "now do it for real" is a bit strange I think?

Ramblurr avatar Oct 01 '25 06:10 Ramblurr

I definitely agree, I'll take a look at it over the weekend.

zikajk avatar Oct 01 '25 19:10 zikajk

@Ramblurr Done 🙂 https://github.com/editor-code-assistant/eca/pull/149

zikajk avatar Oct 09 '25 17:10 zikajk