aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonard Kugis <leonard@kug.is>2026-10-02 14:20:57 +0200
committerLeonard Kugis <leonard@kug.is>2026-10-02 14:20:57 +0200
commit3263c4666ee0b2b392e3382e4c2ac53db647da89 (patch)
treee55a00f01b87eec12bf016a772f6e0e794f36d15
parentbeb3a3a28a009db4eebb292d7ac17276e7267f08 (diff)
downloadllm-functions-docker-3263c4666ee0b2b392e3382e4c2ac53db647da89.tar.gz
Limited tool suage on fs_write, fs_patch and execute_command
-rw-r--r--agents/dev/tools.txt9
-rwxr-xr-xtools/execute_command.sh3
2 files changed, 3 insertions, 9 deletions
diff --git a/agents/dev/tools.txt b/agents/dev/tools.txt
index bfdd625..d874171 100644
--- a/agents/dev/tools.txt
+++ b/agents/dev/tools.txt
@@ -1,7 +1,2 @@
-execute_command.sh
-fs_patch.sh
-fs_cat.sh
-fs_mkdir.sh
-fs_ls.sh
-fs_write.sh
-fs_rm.sh
+execute_command
+web_search
diff --git a/tools/execute_command.sh b/tools/execute_command.sh
index c6504bf..083fe97 100755
--- a/tools/execute_command.sh
+++ b/tools/execute_command.sh
@@ -9,7 +9,7 @@ ROOT_DIR="${LLM_ROOT_DIR:-$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)}"
OUT_PATH="${LLM_OUTPUT:-/dev/stdout}"
# Max bytes per stream to avoid flooding aichat
-MAX_BYTES="${LLM_MAX_BYTES:-200000}"
+MAX_BYTES="${LLM_MAX_BYTES:-1000000}"
sanitize() {
# Ensures valid UTF-8 output; drops invalid byte sequences
@@ -88,4 +88,3 @@ main() {
eval "$(argc --argc-eval "$0" "$@")"
main
-