Function: eca-workspaces--chat-model-str

eca-workspaces--chat-model-str is a natively compiled function defined in eca-workspaces.el.

Signature

(eca-workspaces--chat-model-str)

Documentation

Return the model[variant] · agent string for the current chat.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-workspaces.el
(defun eca-workspaces--chat-model-str ()
  "Return the model[variant] · agent string for the current chat."
  (let ((model (eca-chat--model))
        (variant (eca-chat--variant))
        (agent (eca-chat--agent)))
    (concat (or model "")
            (when variant (format "[%s]" variant))
            (when agent (concat (when model " · ") agent)))))