gptel: Fix bug in url-retrieve setup
* gptel.el (gptel--url-get-response): Record correctly the gptel-backend at time of call to url-retrieve.
This commit is contained in:
parent
0109d0d1c0
commit
17a58d38e7
1 changed files with 1 additions and 0 deletions
1
gptel.el
1
gptel.el
|
@ -840,6 +840,7 @@ Call CALLBACK with the response and INFO afterwards. If omitted
|
|||
the response is inserted into the current buffer after point."
|
||||
(let* ((inhibit-message t)
|
||||
(message-log-max nil)
|
||||
(backend gptel-backend)
|
||||
(url-request-method "POST")
|
||||
(url-request-extra-headers
|
||||
(append '(("Content-Type" . "application/json"))
|
||||
|
|
Loading…
Add table
Reference in a new issue