Merge pull request 'Guide models to read-only inspection' (#133) from feat/inspect-guidelines into main
This commit was merged in pull request #133.
This commit is contained in:
commit
c29df05e0b
7 files changed
+70
-11
No files matched your search
@@ -316,7 +316,7 @@ impl Tool for Bash {
|
||||
fn spec(&self) -> ToolSpec {
|
||||
spec(
|
||||
"bash",
|
||||
"Run a shell command in the working directory. stdout and stderr are merged. Long output keeps the start and the end; the middle is cut and the full output saved to a file.",
|
||||
"Run a shell command in the working directory. Read-only commands (ls cat head tail rg fd find grep wc jq sort, git status/log/diff/show, piped together) run at once; everything else, e.g. node, python, sed, cargo, asks the user first. To inspect files prefer read/rg/fd. stdout and stderr are merged. Long output keeps the start and the end; the middle is cut and the full output saved to a file.",
|
||||
json!({"type":"object","properties":{
|
||||
"command":{"type":"string"},
|
||||
"timeout":{"type":"integer","description":"seconds, default 120"}},
|
||||
|
||||
Reference in new issue
Block a user