gptel-transient: Update header-line in gptel--suffix-send

* gptel-transient.el (gptel--suffix-send): Update the header line
when using starting a request in `gptel--suffix-send`.  Fix #293.
This commit is contained in:
Karthik Chikmagalur 2024-04-24 16:06:31 -07:00
parent 66a63e6c82
commit 44feb1637f

View file

@ -694,6 +694,8 @@ Or in an extended conversation:
:callback callback :callback callback
:dry-run dry-run) :dry-run dry-run)
(gptel--update-status " Waiting..." 'warning)
;; NOTE: Possible future race condition here if Emacs ever drops the GIL. ;; NOTE: Possible future race condition here if Emacs ever drops the GIL.
;; The HTTP request callback might modify the buffer before the in-place ;; The HTTP request callback might modify the buffer before the in-place
;; text is killed below. ;; text is killed below.