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

    Simplify confirmation buffer
---
 ellama-tools.el | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

diff --git a/ellama-tools.el b/ellama-tools.el
index e3d6d9f0b8..39d1402ebc 100644
--- a/ellama-tools.el
+++ b/ellama-tools.el
@@ -182,18 +182,8 @@ approved, \"Forbidden by the user\" otherwise."
                    (insert (format "Function: %s\n\n" function-name))
                    (insert "Arguments:\n")
                    (dolist (arg args-full)
-                     (insert (format "  - %s\n" arg)))
-                   (insert "\n")
-                   (insert (propertize "Please review the arguments above.\n"
-                                       'face '(:slant italic)))
-                   (insert "Return to the minibuffer to make your choice.\n\n")
-                   (insert "Available choices:\n")
-                   (insert "  (y)es - Execute once\n")
-                   (insert "  (a)lways - Always execute for this function\n")
-                   (insert "  (n)o - Do not execute\n")
-                   (insert "  (r)eply - Provide a custom reply\n"))
-                 (display-buffer buf)
-                 (message "Viewing details in buffer. Return to minibuffer to 
choose.")))
+                     (insert (format "  - %s\n" arg))))
+                 (display-buffer buf)))
               ;; Yes - execute function once
               ((eq answer ?y)
                (setq result (apply function args))

Reply via email to