Variable: gptel-pre-response-hook
gptel-pre-response-hook is a customizable variable defined in
gptel.el.
Value
nil
Documentation
Hook run before inserting the LLM response into the current buffer.
This hook is called in the buffer where the LLM response will be inserted.
Note: this hook only runs if the request succeeds.
Source Code
;; Defined in /nix/store/q3r7g81pvghw7a523kjk2k2zih3pfk8z-emacs-packages-deps/share/emacs/site-lisp/elpa/gptel-20261002.545/gptel.el
;;; User options
(defcustom gptel-pre-response-hook nil
"Hook run before inserting the LLM response into the current buffer.
This hook is called in the buffer where the LLM response will be
inserted.
Note: this hook only runs if the request succeeds."
:type 'hook
:group 'gptel)