Variable: gptel-save-state-hook

gptel-save-state-hook is a customizable variable defined in gptel.el.

Value

nil

Documentation

Hook run before gptel saves model parameters to a file.

You can use this hook to store additional conversation state or model parameters to the chat buffer, or to modify the buffer in some other way.

Source Code

;; Defined in /nix/store/q3r7g81pvghw7a523kjk2k2zih3pfk8z-emacs-packages-deps/share/emacs/site-lisp/elpa/gptel-20261002.545/gptel.el
(defcustom gptel-save-state-hook nil
  "Hook run before gptel saves model parameters to a file.

You can use this hook to store additional conversation state or
model parameters to the chat buffer, or to modify the buffer in
some other way."
  :type 'hook
  :group 'gptel)