[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ellama f9e0de5af6 34/53: Merge pull request #3 from jia
From: |
ELPA Syncer |
Subject: |
[elpa] externals/ellama f9e0de5af6 34/53: Merge pull request #3 from jiahut/main |
Date: |
Sun, 17 Dec 2023 18:57:59 -0500 (EST) |
branch: externals/ellama
commit f9e0de5af6a48659dc39914e61964231fe75ca69
Merge: 316e982ef6 327c488e9b
Author: Sergey Kostyaev <s-kostyaev@users.noreply.github.com>
Commit: GitHub <noreply@github.com>
Merge pull request #3 from jiahut/main
:recycle: Refactor ellama.el code for improved response handling.
---
ellama.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/ellama.el b/ellama.el
index 767a870dd4..0378092777 100644
--- a/ellama.el
+++ b/ellama.el
@@ -116,6 +116,7 @@ Filter PROC output STRING."
(setq ellama--extract nil)
(setq ellama--extraction-state 'before))
(when-let ((response (plist-get data :response)))
+ (goto-char (process-mark proc))
(if ellama--extract
(progn
(setq ellama--line (concat ellama--line
response))
@@ -130,7 +131,8 @@ Filter PROC output STRING."
(insert ellama--line)))
(_ nil))
(setq ellama--line nil)))
- (insert response)))))
+ (insert response)
+ (set-marker (process-mark proc) (point))))))
(split-string string "\n" t))
(setq ellama--unprocessed-data nil)
(set-marker (process-mark proc) (point))
@@ -224,7 +226,7 @@ default. Default value is `ellama-template'."
:name "ellama"
:command (list
ellama-curl-executable
- "-X" "POST" ellama-url "-d"
+ "-s" "-X" "POST" ellama-url "-d"
(json-encode-plist ellama--request))
:filter 'ellama--filter
:sentinel sentinel)
- [elpa] externals/ellama bfac7db4ef 27/53: Create melpa.yml, (continued)
- [elpa] externals/ellama bfac7db4ef 27/53: Create melpa.yml, ELPA Syncer, 2023/12/17
- [elpa] externals/ellama 963843016b 14/53: add ellama-ask-about gif and fix typos, ELPA Syncer, 2023/12/17
- [elpa] externals/ellama 660f08c126 23/53: add badges and installation section to readme, ELPA Syncer, 2023/12/17
- [elpa] externals/ellama 3eac28a1ea 31/53: Merge pull request #4 from stardiviner/main, ELPA Syncer, 2023/12/17
- [elpa] externals/ellama 327c488e9b 33/53: Format and remove unnecessary code., ELPA Syncer, 2023/12/17
- [elpa] externals/ellama 1c4aa12bf9 39/53: make spinner type customizable, ELPA Syncer, 2023/12/17
- [elpa] externals/ellama f436d96206 47/53: Make changes by ellama atomic, ELPA Syncer, 2023/12/17
- [elpa] externals/ellama 88e8f3455f 16/53: remove ellama-instant from command list, ELPA Syncer, 2023/12/17
- [elpa] externals/ellama 7a84c5e737 18/53: add gif for enhance grammar and spelling, ELPA Syncer, 2023/12/17
- [elpa] externals/ellama f22a21dd56 30/53: Add spinner support as mode-line progress indicator, ELPA Syncer, 2023/12/17
- [elpa] externals/ellama f9e0de5af6 34/53: Merge pull request #3 from jiahut/main,
ELPA Syncer <=
- [elpa] externals/ellama 2e5219afbe 43/53: Merge pull request #1 from s-kostyaev/switch-to-llm-library, ELPA Syncer, 2023/12/17
- [elpa] externals/ellama a0acd24abb 51/53: Add ellama complete command., ELPA Syncer, 2023/12/17
- [elpa] externals/ellama 034140969d 12/53: reformat readme, ELPA Syncer, 2023/12/17
- [elpa] externals/ellama 68bbca9cb3 17/53: add more gifs to readme, ELPA Syncer, 2023/12/17
- [elpa] externals/ellama ff604fc2b9 10/53: change default language to english, ELPA Syncer, 2023/12/17
- [elpa] externals/ellama 8717dcb145 11/53: add readme, ELPA Syncer, 2023/12/17
- [elpa] externals/ellama 162433ada3 15/53: mention streaming output in readme, ELPA Syncer, 2023/12/17
- [elpa] externals/ellama caf4578e8d 21/53: add llm keyword to documentation, ELPA Syncer, 2023/12/17
- [elpa] externals/ellama f35622b5f7 24/53: change default model to zephyr, ELPA Syncer, 2023/12/17
- [elpa] externals/ellama 92d4349bac 25/53: add information about local LLMs into package summary, ELPA Syncer, 2023/12/17