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

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

[elpa] externals/llm b2f1605514 33/34: Delete some trailing whitespace


From: Andrew Hyatt
Subject: [elpa] externals/llm b2f1605514 33/34: Delete some trailing whitespace
Date: Sat, 16 Sep 2023 01:32:50 -0400 (EDT)

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

    Delete some trailing whitespace
---
 llm-openai.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/llm-openai.el b/llm-openai.el
index edb10f7862..ba79e748af 100644
--- a/llm-openai.el
+++ b/llm-openai.el
@@ -139,7 +139,7 @@ SYNC is non-nil when the request should wait until the 
response is received."
                               ("parameters" . ,return-json-spec))))
             request-alist)
       (push '("function_call" . (("name" . "output"))) request-alist))
-    
+
     (request "https://api.openai.com/v1/chat/completions";
       :type "POST"
       :sync sync
@@ -150,7 +150,7 @@ SYNC is non-nil when the request should wait until the 
response is received."
       :success (cl-function
                 (lambda (&key data &allow-other-keys)
                   (let ((result (cdr (assoc 'content (cdr (assoc 'message 
(aref (cdr (assoc 'choices data)) 0))))))
-                        (func-result (cdr (assoc 'arguments (cdr (assoc 
'function_call (cdr (assoc 'message (aref (cdr (assoc 'choices data)) 
0)))))))))        
+                        (func-result (cdr (assoc 'arguments (cdr (assoc 
'function_call (cdr (assoc 'message (aref (cdr (assoc 'choices data)) 0)))))))))
                     (funcall response-callback (or func-result result)))))
       :error (cl-function (lambda (&key error-thrown data &allow-other-keys)
                             (funcall error-callback



reply via email to

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