fix: execute command tool, improving prompts

This commit is contained in:
2025-01-31 18:22:57 +01:00
parent a27e3da769
commit deaec8094b
4 changed files with 24 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ M.available_tools = {
{
name = "executeCommand",
usage = "Run a shell command. Provide { tool='executeCommand', command='...' }",
explanation = "Use with caution, especially for destructive operations (rm, sudo, etc.)."
explanation = "Just run one single command per tool invocation, without comment. It must be a single line. Use with caution, especially for destructive operations (rm, sudo, etc.)."
},
}