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 45ab0be commit 62b6df0Copy full SHA for 62b6df0
crates/chat-cli/src/cli/agent/mod.rs
@@ -313,10 +313,16 @@ impl Agent {
313
}
314
315
316
+/// Result of evaluating tool permissions, indicating whether a tool should be allowed,
317
+/// require user confirmation, or be denied with specific reasons.
318
#[derive(Debug, PartialEq)]
319
pub enum PermissionEvalResult {
320
+ /// Tool is allowed to execute without user confirmation
321
Allow,
322
+ /// Tool requires user confirmation before execution
323
Ask,
324
+ /// Denial with specific reasons explaining why the tool was denied
325
+ /// Tools are free to overload what these reasons are
326
Deny(Vec<String>),
327
328
0 commit comments