Function: gptel--inject-media

gptel--inject-media is a byte-compiled function defined in gptel-request.el.

Signature

(gptel--inject-media BACKEND PROMPTS)

Documentation

Wrap the last prompt in PROMPTS with gptel's context.

PROMPTS is a structure as returned by gptel--parse-buffer. Typically this is a list of plists.

BACKEND is the gptel backend in use.

Implementations

(gptel--inject-media BACKEND PROMPTS) in `gptel-request.el'.

Undocumented

Source Code

;; Defined in /nix/store/q3r7g81pvghw7a523kjk2k2zih3pfk8z-emacs-packages-deps/share/emacs/site-lisp/elpa/gptel-20261002.545/gptel-request.el
(cl-defgeneric gptel--inject-media (backend _prompts)
  "Wrap the last prompt in PROMPTS with gptel's context.

PROMPTS is a structure as returned by `gptel--parse-buffer'.
Typically this is a list of plists.

BACKEND is the gptel backend in use."
  (display-warning
   '(gptel context)
   (format "Context support not implemented for backend %s, ignoring context"
           (gptel-backend-name backend))))