mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
add docstring
This commit is contained in:
@@ -98,6 +98,7 @@ pub(crate) enum ApprovalRequirement {
|
||||
/// Approval required for this tool call
|
||||
NeedsApproval {
|
||||
reason: Option<String>,
|
||||
/// Prefix that can be whitelisted via execpolicy to skip future approvals for similar commands
|
||||
allow_prefix: Option<Vec<String>>,
|
||||
},
|
||||
/// Execution forbidden for this tool call
|
||||
|
||||
Reference in New Issue
Block a user