implemented shell_exec
This commit is contained in:
@@ -24,6 +24,9 @@ func NewSidekick(config AgentConfig, model ModelConfig, extTools []ToolDefinitio
|
||||
ToolRegistry: make(map[string]ToolDefinition),
|
||||
}
|
||||
for name, tool := range DefaultInternalTools() {
|
||||
if name == "shell_exec" && !s.Config.EnableShellExec {
|
||||
continue
|
||||
}
|
||||
s.registerTool(name, tool)
|
||||
}
|
||||
for _, tool := range extTools {
|
||||
|
||||
Reference in New Issue
Block a user