[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/llm b69b6e8480 2/2: Remove auto-compression-mode for ca
From: |
ELPA Syncer |
Subject: |
[elpa] externals/llm b69b6e8480 2/2: Remove auto-compression-mode for callbacks, which was unnecessary |
Date: |
Tue, 24 Oct 2023 21:58:34 -0400 (EDT) |
branch: externals/llm
commit b69b6e8480afdf127bba80cd1716939d024b6a89
Author: Andrew Hyatt <ahyatt@gmail.com>
Commit: Andrew Hyatt <ahyatt@gmail.com>
Remove auto-compression-mode for callbacks, which was unnecessary
---
llm-request.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/llm-request.el b/llm-request.el
index a1b24756e8..a69924c508 100644
--- a/llm-request.el
+++ b/llm-request.el
@@ -79,9 +79,8 @@ TIMEOUT is the number of seconds to wait for a response."
"Handle new content in the current buffer."
(save-match-data
(save-excursion
- (with-auto-compression-mode
- (when llm-request--partial-callback
- (funcall llm-request--partial-callback (llm-request--content)))))))
+ (when llm-request--partial-callback
+ (funcall llm-request--partial-callback (llm-request--content))))))
(cl-defun llm-request-async (url &key headers data on-success on-success-raw
on-error on-partial)
"Make a request to URL.