[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ellama 3eac28a1ea 31/53: Merge pull request #4 from sta
From: |
ELPA Syncer |
Subject: |
[elpa] externals/ellama 3eac28a1ea 31/53: Merge pull request #4 from stardiviner/main |
Date: |
Sun, 17 Dec 2023 18:57:59 -0500 (EST) |
branch: externals/ellama
commit 3eac28a1ea25830278fbab4c9c88446d51ecb804
Merge: 8caaf7a3b6 f22a21dd56
Author: Sergey Kostyaev <s-kostyaev@users.noreply.github.com>
Commit: GitHub <noreply@github.com>
Merge pull request #4 from stardiviner/main
Add spinner support as mode-line progress indicator
---
ellama.el | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/ellama.el b/ellama.el
index d3d8e4c075..5985f0b797 100644
--- a/ellama.el
+++ b/ellama.el
@@ -5,7 +5,7 @@
;; Author: Sergey Kostyaev <sskostyaev@gmail.com>
;; URL: http://github.com/s-kostyaev/ellama
;; Keywords: help local tools
-;; Package-Requires: ((emacs "28.1"))
+;; Package-Requires: ((emacs "28.1") (spinner "1.7.4"))
;; Version: 0.1.0
;; Created: 8th Oct 2023
@@ -31,6 +31,7 @@
;;; Code:
(require 'json)
+(require 'spinner)
(defgroup ellama nil
"Ollama client for Emacs."
@@ -200,7 +201,8 @@ default. Default value is `ellama-template'."
(with-current-buffer (process-buffer proc)
(save-excursion
(goto-char (point-max))
- (insert "\n\n")))))
+ (insert "\n\n"))
+ (spinner-stop))))
(lambda (_ _) nil))))
(with-current-buffer buffer
(setq ellama--request (list :model model :prompt prompt))
@@ -222,7 +224,8 @@ default. Default value is `ellama-template'."
"-X" "POST" ellama-url "-d"
(json-encode-plist ellama--request))
:filter 'ellama--filter
- :sentinel sentinel)))))
+ :sentinel sentinel)
+ (spinner-start 'progress-bar)))))
;;;###autoload
(defun ellama-ask ()
- [elpa] externals/ellama 3d3fa91206 04/53: add ellama change commands, (continued)
- [elpa] externals/ellama 3d3fa91206 04/53: add ellama change commands, ELPA Syncer, 2023/12/17
- [elpa] externals/ellama f1fbb33521 03/53: add code review command, ELPA Syncer, 2023/12/17
- [elpa] externals/ellama c14dad0065 05/53: add make list and make table commands, ELPA Syncer, 2023/12/17
- [elpa] externals/ellama b9fe2ebdaa 06/53: add ellama-summarize-webpage function, ELPA Syncer, 2023/12/17
- [elpa] externals/ellama 8bd196068a 08/53: add functions to work with code, ELPA Syncer, 2023/12/17
- [elpa] externals/ellama a1112d64a0 09/53: improve ask about template, ELPA Syncer, 2023/12/17
- [elpa] externals/ellama 00b8ddd155 19/53: fix for use libxml-parse-html-region, ELPA Syncer, 2023/12/17
- [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 <=
- [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, 2023/12/17
- [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