feat: rename execute_command tool, improve go prompt
This commit is contained in:
@@ -23,8 +23,8 @@ M.available_tools = {
|
||||
explanation = "Use this to apply incremental changes without fully overwriting the file."
|
||||
},
|
||||
{
|
||||
name = "executeCommand",
|
||||
usage = "Run a shell command. Provide { tool='executeCommand', command='...' }",
|
||||
name = "execute_command",
|
||||
usage = "Run a shell command. Provide { tool='execute_command', command='...' }",
|
||||
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.)."
|
||||
},
|
||||
}
|
||||
@@ -33,7 +33,7 @@ M.tools_by_name = {
|
||||
read_file = read_file_tool,
|
||||
edit_file = edit_file_tool,
|
||||
replace_in_file = replace_in_file_tool,
|
||||
executeCommand = execute_command_tool
|
||||
execute_command = execute_command_tool
|
||||
}
|
||||
|
||||
return M
|
||||
|
||||
Reference in New Issue
Block a user