branch: externals/ellama
commit 8ae080a6695016f70621b30e346f464fc60ff9b8
Author: Sergey Kostyaev <[email protected]>
Commit: Sergey Kostyaev <[email protected]>

    Enable transient flag for tool management commands
    
    Added :transient t to all tool management commands in the transient 
interface to
    ensure they behave correctly with the transient library, allowing the 
interface
    to properly handle the commands and maintain state between invocations.
---
 ellama-transient.el | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/ellama-transient.el b/ellama-transient.el
index 9d89c938dd..77a9d6a445 100644
--- a/ellama-transient.el
+++ b/ellama-transient.el
@@ -440,10 +440,14 @@ ARGS used for transient arguments."
                                                ellama-tools-enabled)
                                        " ")))
    ["Tools"
-    ("e" "Enable tool" ellama-tools-enable-by-name)
-    ("E" "Enable all tools" ellama-tools-enable-all)
-    ("d" "Disable tool" ellama-tools-disable-by-name)
-    ("D" "Disable all tools" ellama-tools-disable-all)]
+    ("e" "Enable tool" ellama-tools-enable-by-name
+     :transient t)
+    ("E" "Enable all tools" ellama-tools-enable-all
+     :transient t)
+    ("d" "Disable tool" ellama-tools-disable-by-name
+     :transient t)
+    ("D" "Disable all tools" ellama-tools-disable-all
+     :transient t)]
    ["Quit"
     ("k" "Kill" ellama-kill-current-buffer)
     ("q" "Quit" transient-quit-one)]])

Reply via email to