commit c37f38f829a9f12e5794db03ca31f1a827b51301
parent 6c7efb82cfa7273da7366277a4064d1aa5dc6a2b
Author: Vineet Kumar <git@vineetk.net>
Date: Thu, 22 Oct 2026 16:13:06 +0200
try steering model away from using bash except as last resort
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/llm-tools.el b/llm-tools.el
@@ -207,7 +207,7 @@ Bash should be a last resort, used only when no other tool fits the task.
EXAMPLES:
- Check file type: 'file document.pdf'
-- Count lines: 'wc -l *.txt'
+- Run tests: 'make test'
The command will be executed in the current working directory. Output is
returned as a string. Long outputs should be filtered/limited using pipes."
@@ -215,7 +215,8 @@ returned as a string. Long outputs should be filtered/limited using pipes."
:type string
:description "The Bash command to execute.\
Can include pipes and standard shell operators.
-Example: 'ls -la | head -20' or 'grep -i error app.log | tail -50'"))
+Use read_file for reading files and grep for searching, including logs.
+Example: 'make test'"))
:confirm #'llm-tools--bash-confirm-p
:include t
:async t)