We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3378c6 commit a1c8abcCopy full SHA for a1c8abc
crates/chat-cli/src/cli/chat/tools/execute/mod.rs
@@ -193,7 +193,7 @@ impl ExecuteCommand {
193
194
let Self { command, .. } = self;
195
let tool_name = if cfg!(windows) { "execute_cmd" } else { "execute_bash" };
196
- let is_in_allowlist = agent.allowed_tools.contains("execute_bash");
+ let is_in_allowlist = agent.allowed_tools.contains(tool_name);
197
match agent.tools_settings.get(tool_name) {
198
Some(settings) if is_in_allowlist => {
199
let Settings {
0 commit comments