Function: eca-chat--steer-prompt
eca-chat--steer-prompt is a natively compiled function defined in
eca-chat.el.
Signature
(eca-chat--steer-prompt SESSION PROMPT)
Documentation
Steer the running prompt for SESSION by injecting PROMPT at the next LLM turn.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--steer-prompt (session prompt)
"Steer the running prompt for SESSION by injecting PROMPT at the next LLM turn."
(setq-local eca-chat--steered-prompt (if eca-chat--steered-prompt
(concat eca-chat--steered-prompt "\n" prompt)
prompt))
(eca-chat--update-steer-area)
(eca-chat--set-prompt "")
(eca-api-notify session
:method "chat/promptSteer"
:params (list :chatId eca-chat--id
:message (eca-chat--normalize-prompt prompt))))