Function: eca--session-chat-variants

eca--session-chat-variants is a natively compiled function defined in eca-util.el.

Signature

(eca--session-chat-variants eca--session-chat-variants X)

Documentation

Access slot "chat-variants" of eca--session struct X.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-util.el
(cl-defstruct eca--session
  ;; id to manage multiple eca sessions
  (id nil)

  ;; The status of this session
  (status 'stopped)

  ;; The eca <process>
  (process nil)

  ;; the chat buffers
  (chats '())

  (last-chat-buffer nil)

  ;; The chat currently being hydrated by a chat/open request.
  (opening-chat-id nil)

  ;; A list of workspace folders of this session
  (workspace-folders '())

  ;; A plist of request method names (strings) -> handlers used when
  ;; receiving requests from server.
  (request-handlers '())

  ;; A plist of client request ids -> handlers for pending requests used when
  ;; receiving responses from server.
  (response-handlers '())

  ;; The suported models by the server.
  (models '())

  ;; The servers and their status.
  (tool-servers '())

  ;; The supported chat agents by the server.
  (chat-agents nil)

  ;; The available variants for the current model.
  (chat-variants '())

  ;; Selection defaults inherited by new chats in this session.
  (chat-default-model nil)
  (chat-default-agent nil)
  (chat-default-variant nil)
  (chat-default-trust nil)

  ;; The welcome message for new chats.
  (chat-welcome-message "")

  ;; The global config file path the server reads, from `initialize'.
  (global-config-path nil)

  ;; Init progress tasks alist: (taskId . plist) where plist has :title :type
  (init-tasks nil)

  ;; Provider status list from providers/list response.
  (providers nil)

  ;; Background jobs list from jobs/list and jobs/updated.
  (jobs nil))