feat: add auto-approval for codex exec (#5043)

This commit is contained in:
jif-oai
2025-10-15 19:03:54 +01:00
committed by GitHub
parent 897d4d5f17
commit 774892c6d7
5 changed files with 151 additions and 6 deletions

View File

@@ -41,6 +41,8 @@ pub enum Feature {
ViewImageTool,
/// Allow the model to request web searches.
WebSearchRequest,
/// Automatically approve all approval requests from the harness.
ApproveAll,
}
impl Feature {
@@ -247,4 +249,10 @@ pub const FEATURES: &[FeatureSpec] = &[
stage: Stage::Stable,
default_enabled: false,
},
FeatureSpec {
id: Feature::ApproveAll,
key: "approve_all",
stage: Stage::Experimental,
default_enabled: false,
},
];