Function: gptel--make-backend

gptel--make-backend is a natively compiled function defined in gptel-request.el.

Signature

(gptel--make-backend &key NAME HOST HEADER PROTOCOL STREAM ENDPOINT KEY MODELS URL REQUEST-PARAMS CURL-ARGS CODING-SYSTEM)

Documentation

Constructor for objects of type gptel-backend.

Source Code

;; Defined in /nix/store/q3r7g81pvghw7a523kjk2k2zih3pfk8z-emacs-packages-deps/share/emacs/site-lisp/elpa/gptel-20261002.545/gptel-request.el
(cl-defstruct
    (gptel-backend (:constructor gptel--make-backend)
                   (:copier gptel--copy-backend))
  name host header protocol stream
  endpoint key models url request-params
  curl-args
  (coding-system
   nil :documentation "Can be set to `binary' if the backend expects non UTF-8 output."))