eca icon indicating copy to clipboard operation
eca copied to clipboard

Can send prompt when tool approval is waiting

Open zikajk opened this issue 10 months ago • 5 comments

To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.

Describe the bug Maybe it is Emacs specific bug, not sure. But I have noticed that from time to time there is still tool approval waiting before my last user prompt.

Expected behavior Until all tool calls are approved / rejected, user shouldn't be able to send any message.

zikajk avatar Feb 03 '26 12:02 zikajk

Until all tool calls are approved / rejected, user shouldn't be able to send any message.

Not sure I got, why you think that's expected? after we allowed to queue prompts, we allow queue anytime

ericdallo avatar Feb 03 '26 16:02 ericdallo

It is not being queued, LLM answers and the tool call is still waiting (and can be approved anytime).

zikajk avatar Feb 04 '26 11:02 zikajk

Image

Here I wrote pokracuj while the tool_call has never finished or produced approval.

zikajk avatar Feb 04 '26 18:02 zikajk

I can't repro that asking to run sleep 1 and during wait, when I send a prompt it queues, after approving the tool and finished then eca sends the queued prompt, which looks correct. Not sure when/how that bug happens

ericdallo avatar Feb 04 '26 19:02 ericdallo

I can't reproduce it, i will close this if I won't see it again this week :-).

zikajk avatar Feb 09 '26 11:02 zikajk