Skip to content

Fix: rejecting tool-call#151

Merged
ericdallo merged 1 commit intoeditor-code-assistant:masterfrom
MarselScheer:fix-tool-reject
Feb 14, 2026
Merged

Fix: rejecting tool-call#151
ericdallo merged 1 commit intoeditor-code-assistant:masterfrom
MarselScheer:fix-tool-reject

Conversation

@MarselScheer
Copy link
Contributor

@MarselScheer MarselScheer commented Feb 14, 2026

Summary

eca-chat-tool-call-accept-next and eca-chat-tool-call-reject-next now follow the pattern of eca-chat-tool-call-accept-all-and-remember to first go to the beginning of the buffer and then find the corresponding text-property.

Main reason:

  • eca-chat-tool-call-reject-next does not work when cursor is at the end of the buffer

Note:

  • Though eca-chat-tool-call-accept-next was working i thought it is better to unify them

Tests

C-c C-r (reject) and C-c C-a (approve) work when cursor is in this position
image

Copy link
Member

@ericdallo ericdallo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thank you!

@ericdallo ericdallo merged commit bac09f8 into editor-code-assistant:master Feb 14, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants