mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
Improve granular approval policy prompt (#14553)
This commit is contained in:
committed by
GitHub
Unverified
parent
958f93f899
commit
59b588b8ec
@@ -3385,6 +3385,9 @@ impl Session {
|
||||
turn_context
|
||||
.features
|
||||
.enabled(Feature::ExecPermissionApprovals),
|
||||
turn_context
|
||||
.features
|
||||
.enabled(Feature::RequestPermissionsTool),
|
||||
)
|
||||
.into_text(),
|
||||
);
|
||||
|
||||
@@ -46,6 +46,7 @@ fn build_permissions_update_item(
|
||||
exec_policy,
|
||||
&next.cwd,
|
||||
next.features.enabled(Feature::ExecPermissionApprovals),
|
||||
next.features.enabled(Feature::RequestPermissionsTool),
|
||||
))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user