branch: externals/llm
commit e94bc937c711f871adf8446dee0e75c97b4bfbf7
Author: Andrew Hyatt <ahy...@gmail.com>
Commit: Andrew Hyatt <ahy...@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