mirror of
https://github.com/openai/codex.git
synced 2026-11-17 14:58:36 +00:00
Rename reject approval policy to granular (#14516)
This commit is contained in:
1 parent
d32820ab07
commit
b7dba72dbd
46 files changed
+456
-419
No files matched your search
@@ -254,7 +254,7 @@ fn elicitation_is_rejected_by_policy(approval_policy: AskForApproval) -> bool {
|
||||
AskForApproval::OnFailure => false,
|
||||
AskForApproval::OnRequest => false,
|
||||
AskForApproval::UnlessTrusted => false,
|
||||
AskForApproval::Reject(reject_config) => reject_config.rejects_mcp_elicitations(),
|
||||
AskForApproval::Granular(granular_config) => !granular_config.allows_mcp_elicitations(),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user