emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/llm 478afbcb41 71/71: Fix byte compilation errors


From: ELPA Syncer
Subject: [elpa] externals/llm 478afbcb41 71/71: Fix byte compilation errors
Date: Fri, 17 May 2024 00:58:51 -0400 (EDT)

branch: externals/llm
commit 478afbcb41714690fa7ef2ceed797c3691e7eeab
Author: Andrew Hyatt <ahyatt@gmail.com>
Commit: Andrew Hyatt <ahyatt@gmail.com>

    Fix byte compilation errors
---
 llm-provider-utils.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/llm-provider-utils.el b/llm-provider-utils.el
index 644662840e..c16c7dd236 100644
--- a/llm-provider-utils.el
+++ b/llm-provider-utils.el
@@ -161,6 +161,7 @@ return a list of `llm-chat-function-call' structs.")
 
 (cl-defmethod llm-provider-collect-streaming-function-data ((provider 
llm-standard-chat-provider) data)
   "By default, there is no streaming function calling."
+  (ignore provider data)
   nil)
 
 ;; Standard provider implementations of llm functionality
@@ -266,7 +267,8 @@ return a list of `llm-chat-function-call' structs.")
                      buf error-callback 'error
                      err)))
      :on-success
-     (lambda (data)
+     (lambda (_)
+       ;; We don't need the data at the end of streaming, so we can ignore it.
        (llm-provider-utils-callback-in-buffer
         buf response-callback
         (llm-provider-utils-process-result



reply via email to

[Prev in Thread] Current Thread [Next in Thread]