Function: eca-chat-inline-select-agent

eca-chat-inline-select-agent is an interactive and natively compiled function defined in eca-chat-inline.el.

Signature

(eca-chat-inline-select-agent)

Documentation

Select the agent to use for inline prompting.

Empty input resets to the server default.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat-inline.el
;;;###autoload
(defun eca-chat-inline-select-agent ()
  "Select the agent to use for inline prompting.
Empty input resets to the server default."
  (interactive)
  (let ((session (eca-chat-inline--session)))
    (setq eca-chat-inline-agent
          (eca-chat-inline--select-setting "Inline agent"
                                           eca-chat-inline-agent
                                           (eca--session-chat-agents session)))
    (eca-info "Inline agent: %s" (or eca-chat-inline-agent "server default"))))