branch: externals/ellama commit 729df728b611fe14ddc25cc0236f7bcbc00daae6 Author: Sergey Kostyaev <sskosty...@gmail.com> Commit: Sergey Kostyaev <sskosty...@gmail.com>
Update to version 1.8.2 with stability improvements and new tests Updated NEWS.org for version 1.8.2, adding: - Refactored ellama--apply-transformations to use markers for stable replacements - Added set-hard-newline properties for text filling - Enhanced test coverage with markdown to org list conversion test - Added function existence check for llm-ollama-p - Changed buffer display to show instant results instead of reasoning process - Added two new tests: test-ellama-lorem-ipsum (line wrapping) and test-ellama-duplicate-strings (markdown handling) - Implemented empty input check to prevent errors - Moved (require 'llm-ollama) to top scope for proper package loading - Updated ellama.el version comment to 1.8.2 --- NEWS.org | 17 +++++++++++++++++ ellama.el | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/NEWS.org b/NEWS.org index 2d10cfb1ba..f174b93143 100644 --- a/NEWS.org +++ b/NEWS.org @@ -1,3 +1,20 @@ +* Version 1.8.2 +- Refactored ~ellama--apply-transformations~ to use markers for stability during + replacements. Added ~set-hard-newline~ properties to handle hard newlines during + text filling. Updated test cases to include a new test for markdown list to + org list conversion. +- Added check for function existence to avoid errors when ~llm-ollama-p~ is not + available. +- Displayed ellama instant result buffer on done instead of visible reasoning + buffer. +- Added two new tests for ellama functionality: ~test-ellama-lorem-ipsum~ + verifies proper line wrapping and formatting of long text. + ~test-ellama-duplicate-strings~ checks handling of duplicate strings with + markdown formatting. +- Added a check to skip processing when input text is empty, preventing + potential errors in subsequent operations. +- Moved ~(require 'llm-ollama)~ from inside the function to top scope to ensure + package is loaded before use. * Version 1.8.1 - Use direct interfacing with Ollama's API instead of local installation. * Version 1.8.0 diff --git a/ellama.el b/ellama.el index 3dff72b51c..f717e43a6c 100644 --- a/ellama.el +++ b/ellama.el @@ -6,7 +6,7 @@ ;; URL: http://github.com/s-kostyaev/ellama ;; Keywords: help local tools ;; Package-Requires: ((emacs "28.1") (llm "0.24.0") (plz "0.8") (transient "0.7") (compat "29.1")) -;; Version: 1.8.1 +;; Version: 1.8.2 ;; SPDX-License-Identifier: GPL-3.0-or-later ;; Created: 8th Oct 2023