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

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

[elpa] externals/llm 61db5c3cf8 02/13: Corrected form of comments of hel


From: ELPA Syncer
Subject: [elpa] externals/llm 61db5c3cf8 02/13: Corrected form of comments of helper functions.
Date: Wed, 7 Feb 2024 18:58:10 -0500 (EST)

branch: externals/llm
commit 61db5c3cf8875c10753f757833b797094e39771c
Author: Thomas E. Allen <thomas@assistivemachines.com>
Commit: Thomas E. Allen <thomas@assistivemachines.com>

    Corrected form of comments of helper functions.
---
 llm-ollama.el | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/llm-ollama.el b/llm-ollama.el
index b4c4fefc24..958851bf5b 100644
--- a/llm-ollama.el
+++ b/llm-ollama.el
@@ -105,10 +105,8 @@ PROVIDER is the llm-ollama provider."
 
 (defun llm-ollama--chat-request-generate (prompt)
   "Create the chat request data for the `generate' endpoint.
-
 PROMPT is the chat prompt to process.
-
-REQUEST-ALIST is the request data to send."
+Returns REQUEST-ALIST with prompt request data."
   (let (request-alist)
     (when (llm-chat-prompt-context prompt)
       (push `("system" . ,(llm-provider-utils-get-system-prompt prompt 
llm-ollama-example-prelude)) request-alist))
@@ -122,10 +120,8 @@ REQUEST-ALIST is the request data to send."
 
 (defun llm-ollama--chat-request-chat (prompt)
   "Create the chat request data for the `chat' endpoint.
-
 PROMPT is the chat prompt to process.
-
-REQUEST-ALIST is the request data to send."
+Returns REQUEST-ALIST with prompt request data."
   (let (request-alist messages)
     (setq messages
           (mapcar (lambda (interaction)



reply via email to

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