Function: eca-chat--subagent-steps-info
eca-chat--subagent-steps-info is a natively compiled function defined
in eca-chat.el.
Signature
(eca-chat--subagent-steps-info STEP MAX-STEPS USAGE-STR)
Documentation
Build a propertized steps-info string from STEP, MAX-STEPS and USAGE-STR.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--subagent-steps-info (step max-steps usage-str)
"Build a propertized steps-info string from STEP, MAX-STEPS and USAGE-STR."
(propertize (cond
((and step max-steps (not (string-empty-p usage-str)))
(format " (%d/%d steps, %s)" step max-steps usage-str))
((and step (not (string-empty-p usage-str)))
(format " (%d steps, %s)" step usage-str))
((not (string-empty-p usage-str))
(format " (%s)" usage-str))
((and step max-steps)
(format " (%d/%d steps)" step max-steps))
(step
(format " (%d steps)" step))
(t ""))
'font-lock-face 'eca-chat-subagent-steps-info-face))