aboutsummaryrefslogtreecommitdiffstats
path: root/tools/execute_command.sh
AgeCommit message (Collapse)AuthorLines
2026-02-01execute_command: Making return loop friendlyLeonard Kugis-4/+79
Default behaviour of aichat will terminate the request immediately, if a tool returns with exit code != 0. This is inappropriate if the model is capable to fix commands itself. Thus, this patch of execute_command will not forward the exit code, but print it to stderr and always return exit code 0.
2024-11-16refactor: improve bash code (#125)sigoden-7/+3
* refactor: extract guard_path to utils/guard_path.sh * add utils/guard_operation.sh
2024-11-14feat: add `LLM_OUTPUT=/dev/stdout` to all tools/agents bashscripts (#123)sigoden-0/+2
2024-08-03chore: update description of some toolssigoden-1/+1
2024-07-10feat: adjust the way of returning data to LLM (#69)sigoden-3/+10
2024-07-03feat: rename `may_execute_*` to `execute_*` (#56)sigoden-0/+11