Skip to content

Commit 10eca24

Browse files
karthinkkhinshankhan
authored andcommitted
gptel: Update comments, indentation and test submodule
* gptel-curl.el: Remove obsolete comment. * gptel.el (gptel--with-buffer-copy): Fix indentation. * test: Update submodule.
1 parent fe0164b commit 10eca24

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

gptel-curl.el

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,6 @@ REQUEST-DATA is the data to send, TOKEN is a unique identifier."
112112
collect (format "-H%s: %s" key val))
113113
(list url))))
114114

115-
;;TODO: The :transformer argument here is an alternate implementation of
116-
;;`gptel-response-filter-functions'. The two need to be unified.
117115
;;;###autoload
118116
(defun gptel-curl-get-response (fsm)
119117
"Fetch response to prompt in state FSM from the LLM using Curl.

gptel.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,6 +1087,7 @@ Compatibility macro for Emacs 27.1."
10871087
"Copy gptel's local variables from BUF to a temp buffer and run BODY.
10881088
10891089
If positions START and END are provided, insert that part of BUF first."
1090+
(declare (indent 3))
10901091
`(gptel--with-buffer-copy-internal ,buf ,start ,end (lambda () ,@body)))
10911092

10921093
(defun gptel--with-buffer-copy-internal (buf start end body-thunk)

test

0 commit comments

Comments
 (0)