aboutsummaryrefslogtreecommitdiffstats
path: root/bin/get_current_weather
diff options
context:
space:
mode:
authorLeonard Kugis <leonard@kug.is>2026-02-01 21:18:50 +0100
committerLeonard Kugis <leonard@kug.is>2026-02-01 21:18:50 +0100
commit75395625917754ac6c8e849da5516f0826159932 (patch)
treede38889b6953651e627c72fbde32ac887548ccd6 /bin/get_current_weather
parent94000f6b6d07b31151deccc4e3e1fdccf5b5c487 (diff)
downloadllm-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 'bin/get_current_weather')
0 files changed, 0 insertions, 0 deletions