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

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

[elpa] externals/llm e94bc937c7 27/34: Fix issue with llm-chat before me


From: Andrew Hyatt
Subject: [elpa] externals/llm e94bc937c7 27/34: Fix issue with llm-chat before method having too many arguments
Date: Sat, 16 Sep 2023 01:32:49 -0400 (EDT)

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

    Fix issue with llm-chat before method having too many arguments
---
 llm.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llm.el b/llm.el
index 4e78678383..034bedb797 100644
--- a/llm.el
+++ b/llm.el
@@ -116,7 +116,7 @@ PROMPT is a `llm-chat-prompt'. The response is a string."
 (cl-defmethod llm-chat ((_ (eql nil)) _)
   (error "LLM provider was nil.  Please set the provider in the application 
you are using."))
 
-(cl-defmethod llm-chat :before (provider _ _ _)
+(cl-defmethod llm-chat :before (provider _)
   "Issue a warning if the LLM is non-free."
   (when-let (info (llm-nonfree-message-info provider))
     (llm--warn-on-nonfree (car info) (cdr info))))



reply via email to

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