diff options
| author | Leonard Kugis <leonard@kug.is> | 2026-02-01 21:18:50 +0100 |
|---|---|---|
| committer | Leonard Kugis <leonard@kug.is> | 2026-02-01 21:18:50 +0100 |
| commit | 75395625917754ac6c8e849da5516f0826159932 (patch) | |
| tree | de38889b6953651e627c72fbde32ac887548ccd6 /scripts/run-agent.sh | |
| parent | 94000f6b6d07b31151deccc4e3e1fdccf5b5c487 (diff) | |
| download | llm-functions-docker-75395625917754ac6c8e849da5516f0826159932.tar.gz | |
execute_command: Making return loop friendly
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.
Diffstat (limited to 'scripts/run-agent.sh')
0 files changed, 0 insertions, 0 deletions
