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 e797127 commit 0c83dabCopy full SHA for 0c83dab
crates/chat-cli/src/cli/chat/mod.rs
@@ -1605,8 +1605,8 @@ impl ChatSession {
1605
1606
// If there is an override, we will use it. Otherwise fall back to Tool's default.
1607
let allowed = self.tool_permissions.trust_all
1608
- || (self.tool_permissions.has(&tool.name) && self.tool_permissions.is_trusted(&tool.name))
1609
- || !tool.tool.requires_acceptance(os);
+ || self.tool_permissions.is_trusted(&tool.name)
+ || (!self.tool_permissions.has(&tool.name) && !tool.tool.requires_acceptance(os));
1610
1611
if os
1612
.database
0 commit comments