branch: elpa/gptel commit 61bac0aada02cb3d1b98fbec458e490bc0063a3f Author: Karthik Chikmagalur <karthikchikmaga...@gmail.com> Commit: Karthik Chikmagalur <karthikchikmaga...@gmail.com>
gptel: Update comments, indentation and test submodule * gptel-curl.el: Remove obsolete comment. * gptel.el (gptel--with-buffer-copy): Fix indentation. * test: Update submodule. --- gptel-curl.el | 2 -- gptel.el | 1 + test | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/gptel-curl.el b/gptel-curl.el index 283aa5dea5..45d178804a 100644 --- a/gptel-curl.el +++ b/gptel-curl.el @@ -112,8 +112,6 @@ REQUEST-DATA is the data to send, TOKEN is a unique identifier." collect (format "-H%s: %s" key val)) (list url)))) -;;TODO: The :transformer argument here is an alternate implementation of -;;`gptel-response-filter-functions'. The two need to be unified. ;;;###autoload (defun gptel-curl-get-response (fsm) "Fetch response to prompt in state FSM from the LLM using Curl. diff --git a/gptel.el b/gptel.el index 38eaf754f7..eacfbd0261 100644 --- a/gptel.el +++ b/gptel.el @@ -1087,6 +1087,7 @@ Compatibility macro for Emacs 27.1." "Copy gptel's local variables from BUF to a temp buffer and run BODY. If positions START and END are provided, insert that part of BUF first." + (declare (indent 3)) `(gptel--with-buffer-copy-internal ,buf ,start ,end (lambda () ,@body))) (defun gptel--with-buffer-copy-internal (buf start end body-thunk) diff --git a/test b/test index 3e6441877d..f33daff49c 160000 --- a/test +++ b/test @@ -1 +1 @@ -Subproject commit 3e6441877dff02e71fb3538120094d994c5bd7df +Subproject commit f33daff49c5ebbf991473906e2c83f0a867e0d8d