fix: issue with shell calls
This commit is contained in:
+1
-1
@@ -125,7 +125,7 @@ function buildCommonTools(ctx: ToolContext, outputSchema?: JsonSchema): Tool<any
|
||||
tools.push(SetOutputTool(ctx, outputSchema));
|
||||
}
|
||||
|
||||
if (ctx.payload.shell === "restricted") {
|
||||
if (ctx.payload.shell !== "disabled") {
|
||||
tools.push(ShellTool(ctx));
|
||||
tools.push(KillBackgroundTool(ctx));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user