Variable: gptel-model

gptel-model is a customizable variable defined in gptel-request.el.

Value

nil

Documentation

Model for gptel queries.

The name of the model, as a symbol. This is the name as expected by the LLM provider's API.

To set the model for a chat session interactively call gptel-send with a prefix argument.

Source Code

;; Defined in /nix/store/q3r7g81pvghw7a523kjk2k2zih3pfk8z-emacs-packages-deps/share/emacs/site-lisp/elpa/gptel-20261002.545/gptel-request.el
(defcustom gptel-model nil
  (concat
   "Model for gptel queries.

The name of the model, as a symbol.  This is the name as expected
by the LLM provider's API.

To set the model for a chat session interactively call
`gptel-send' with a prefix argument.")
  :safe #'always
  :type `(choice
	  (symbol :tag "Specify model name")
	  ,@(cl-loop
             for (_name . backend) in gptel--known-backends
             append (mapcar
                     (lambda (model) (list 'const :tag (symbol-name model)
                                      model))
                     (gptel-backend-models backend)))))