From 44feb1637fa57868382c3acf1c648e24e984e704 Mon Sep 17 00:00:00 2001 From: Karthik Chikmagalur Date: Wed, 24 Apr 2024 16:06:31 -0700 Subject: [PATCH] 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. --- gptel-transient.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gptel-transient.el b/gptel-transient.el index 08d1cc3..451fcab 100644 --- a/gptel-transient.el +++ b/gptel-transient.el @@ -694,6 +694,8 @@ Or in an extended conversation: :callback callback :dry-run dry-run) + (gptel--update-status " Waiting..." 'warning) + ;; NOTE: Possible future race condition here if Emacs ever drops the GIL. ;; The HTTP request callback might modify the buffer before the in-place ;; text is killed below.