gptel: Remove references to gptel--debug (fix #205)
* gptel.el (gptel--url-parse-response): Remove reference to `gptel--debug`. * gptel-curl.el (gptel-curl--sentinel): Remove reference to `gptel--debug`.
This commit is contained in:
parent
bf994c0765
commit
e2eccd8b08
2 changed files with 0 additions and 6 deletions
|
@ -346,9 +346,6 @@ See `gptel-curl--get-response' for its contents.")
|
|||
|
||||
PROCESS and _STATUS are process parameters."
|
||||
(let ((proc-buf (process-buffer process)))
|
||||
(when gptel--debug
|
||||
(with-current-buffer proc-buf
|
||||
(clone-buffer "*gptel-error*" 'show)))
|
||||
(when-let* (((eq (process-status process) 'exit))
|
||||
(proc-info (alist-get process gptel-curl--process-alist))
|
||||
(proc-callback (plist-get proc-info :callback)))
|
||||
|
|
3
gptel.el
3
gptel.el
|
@ -1134,9 +1134,6 @@ See `gptel-curl--get-response' for its contents.")
|
|||
(defun gptel--url-parse-response (backend response-buffer)
|
||||
"Parse response from BACKEND in RESPONSE-BUFFER."
|
||||
(when (buffer-live-p response-buffer)
|
||||
(when gptel--debug
|
||||
(with-current-buffer response-buffer
|
||||
(clone-buffer "*gptel-error*" 'show)))
|
||||
(with-current-buffer response-buffer
|
||||
(when gptel-log-level ;logging
|
||||
(save-excursion
|
||||
|
|
Loading…
Add table
Reference in a new issue