[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/llm 1c3727ce50 05/13: Restored comment that I had accid
From: |
ELPA Syncer |
Subject: |
[elpa] externals/llm 1c3727ce50 05/13: Restored comment that I had accidentally dropped from the generate endpoint helper. |
Date: |
Wed, 7 Feb 2024 18:58:11 -0500 (EST) |
branch: externals/llm
commit 1c3727ce50b972732fda70bce7b1878a195d2acc
Author: Thomas E. Allen <thomas@assistivemachines.com>
Commit: Thomas E. Allen <thomas@assistivemachines.com>
Restored comment that I had accidentally dropped from the generate endpoint
helper.
---
llm-ollama.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/llm-ollama.el b/llm-ollama.el
index 3cea971ee4..0ccdfafdf2 100644
--- a/llm-ollama.el
+++ b/llm-ollama.el
@@ -110,6 +110,8 @@ 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))
+ ;; If the first item isn't an interaction, then it's a conversation which
+ ;; we'll set as the chat context.
(when (not (eq (type-of (car (llm-chat-prompt-interactions prompt)))
'llm-chat-prompt-interaction))
(push `("context" . ,(car (llm-chat-prompt-interactions prompt)))
request-alist))
- [elpa] externals/llm updated (bed2cb774d -> a343797144), ELPA Syncer, 2024/02/07
- [elpa] externals/llm 3147810ec4 03/13: Minor changes to new function comments., ELPA Syncer, 2024/02/07
- [elpa] externals/llm a4d7098c44 01/13: Added support for Ollama /api/chat endpoint, ELPA Syncer, 2024/02/07
- [elpa] externals/llm 1c3727ce50 05/13: Restored comment that I had accidentally dropped from the generate endpoint helper.,
ELPA Syncer <=
- [elpa] externals/llm 843cf24aa4 04/13: Added endpoint parameter to documentation., ELPA Syncer, 2024/02/07
- [elpa] externals/llm ea72852375 09/13: Merge remote-tracking branch 'upstream/main' into ollama-chat-endpoint-support, ELPA Syncer, 2024/02/07
- [elpa] externals/llm ea2ec282aa 10/13: Removed /generate endpoint support based on PR feedback, ELPA Syncer, 2024/02/07
- [elpa] externals/llm a343797144 13/13: Merge pull request #16 from tquartus/ollama-chat-endpoint-support, ELPA Syncer, 2024/02/07
- [elpa] externals/llm b9fc46f333 08/13: Resolved merge conflicts and merged upstream/main into ollama-chat-endpoint-support., ELPA Syncer, 2024/02/07
- [elpa] externals/llm 1e08b7381d 07/13: Merge branch 'ahyatt:main' into ollama-chat-endpoint-support, ELPA Syncer, 2024/02/07
- [elpa] externals/llm 61db5c3cf8 02/13: Corrected form of comments of helper functions., ELPA Syncer, 2024/02/07
- [elpa] externals/llm a1b17b0170 06/13: Remove unneeded space at end of line., ELPA Syncer, 2024/02/07
- [elpa] externals/llm 9e7344ac27 11/13: Minor clean up, remove mention of :endpoint slot in README., ELPA Syncer, 2024/02/07
- [elpa] externals/llm 993081f072 12/13: Minor changes, ELPA Syncer, 2024/02/07