Function: eca-chat-inline--drop-pending-tool

eca-chat-inline--drop-pending-tool is a natively compiled function defined in eca-chat-inline.el.

Signature

(eca-chat-inline--drop-pending-tool OV ID)

Documentation

Drop tool call ID from OV's pending approval tracking.

Return the status text for the remaining pending tools, or nil when none is left.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat-inline.el
(defun eca-chat-inline--drop-pending-tool (ov id)
  "Drop tool call ID from OV's pending approval tracking.
Return the status text for the remaining pending tools, or nil
when none is left."
  (overlay-put ov 'eca-chat-inline--pending-tools
               (delete id (overlay-get ov 'eca-chat-inline--pending-tools)))
  (overlay-put ov 'eca-chat-inline--pending-summaries
               (eca-dissoc (overlay-get ov 'eca-chat-inline--pending-summaries)
                           id))
  (when-let* ((summaries (overlay-get ov 'eca-chat-inline--pending-summaries)))
    (mapconcat #'cdr (reverse summaries) ", ")))