Function: eca-chat--remove-steered-prompt

eca-chat--remove-steered-prompt is a natively compiled function defined in eca-chat.el.

Signature

(eca-chat--remove-steered-prompt SESSION)

Documentation

Discard the pending steer for SESSION and notify the server.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--remove-steered-prompt (session)
  "Discard the pending steer for SESSION and notify the server."
  (setq-local eca-chat--steered-prompt nil)
  (eca-chat--update-steer-area)
  (eca-api-notify session
                  :method "chat/promptSteerRemove"
                  :params (list :chatId eca-chat--id)))