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

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

[elpa] externals/llm b0556a7d0d 1/2: Fix incorrectly named private funct


From: ELPA Syncer
Subject: [elpa] externals/llm b0556a7d0d 1/2: Fix incorrectly named private function in llm-vertex
Date: Tue, 24 Oct 2023 21:58:33 -0400 (EDT)

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

    Fix incorrectly named private function in llm-vertex
---
 llm-vertex.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/llm-vertex.el b/llm-vertex.el
index 775d51317f..9443a6a1fc 100644
--- a/llm-vertex.el
+++ b/llm-vertex.el
@@ -152,7 +152,7 @@ If nothing needs to be set, return nil."
                   (stringVal (aref (cdr (assoc 'stringVal content)) 0)))
              stringVal))))
 
-(defun llm--vertex--get-partial-chat-ui-repsonse (response)
+(defun llm-vertex--get-partial-chat-ui-repsonse (response)
   "Return the partial response from as much of RESPONSE as we can parse.
 If the response is not parseable, return nil."
   (with-temp-buffer
@@ -288,7 +288,7 @@ If STREAMING is non-nil, use the URL for the streaming API."
                      :headers `(("Authorization" . ,(format "Bearer %s" 
(llm-vertex-key provider))))
                      :data (llm-vertex--chat-request-ui prompt)
                      :on-partial (lambda (partial)
-                                   (when-let ((response 
(llm--vertex--get-partial-chat-ui-repsonse partial)))
+                                   (when-let ((response 
(llm-vertex--get-partial-chat-ui-repsonse partial)))
                                      (funcall partial-callback response)))
                      :on-success (lambda (data)
                                    (funcall response-callback 
(llm-vertex--get-chat-response-ui data)))



reply via email to

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