| Age | Commit message (Collapse) | Author | Lines |
|
Print error instead
|
|
Now they all return with exit 0 and error messages instead.
This prevents early query abortion on fatal errors.
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
- js export expression
- check args regarding run-agent/run-tool
|
|
|
|
* refactor: extract guard_path to utils/guard_path.sh
* add utils/guard_operation.sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
improve `_guard_path` to use `realpath -m <path>` to get absolute path
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|