mirror of
https://github.com/openai/codex.git
synced 2026-10-26 16:00:02 +00:00
Improve granular approval policy prompt (#14553)
This commit is contained in:
@@ -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