mirror of
https://github.com/openai/codex.git
synced 2026-11-13 14:46:14 +00:00
Mark multi-agent v2 as stable (#34383)
## What changed - Classify `multi_agent_v2` as stable while keeping it disabled by default. - Exclude structured `multi_agent_v2` configuration from under-development feature warnings. ## Testing - Update the warning-event test to verify that only the remaining under-development feature is reported. GitOrigin-RevId: 12cb661dde9bc7b5aeae2f83476cb5ff75e0c959
This commit is contained in:
1 parent
19b2273d8a
commit
b00c9b2e16
2 files changed
+3
-3
No files matched your search
@@ -1049,7 +1049,7 @@ pub const FEATURES: &[FeatureSpec] = &[
|
|||||||
FeatureSpec {
|
FeatureSpec {
|
||||||
id: Feature::MultiAgentV2,
|
id: Feature::MultiAgentV2,
|
||||||
key: "multi_agent_v2",
|
key: "multi_agent_v2",
|
||||||
stage: Stage::UnderDevelopment,
|
stage: Stage::Stable,
|
||||||
default_enabled: false,
|
default_enabled: false,
|
||||||
},
|
},
|
||||||
FeatureSpec {
|
FeatureSpec {
|
||||||
|
|||||||
@@ -531,7 +531,7 @@ fn unstable_warning_event_only_mentions_enabled_under_development_features() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn unstable_warning_event_mentions_enabled_structured_under_development_feature() {
|
fn unstable_warning_event_ignores_enabled_structured_stable_feature() {
|
||||||
let configured_features: Table = toml::from_str(
|
let configured_features: Table = toml::from_str(
|
||||||
r#"
|
r#"
|
||||||
multi_agent_v2 = { enabled = true, tool_namespace = "agents" }
|
multi_agent_v2 = { enabled = true, tool_namespace = "agents" }
|
||||||
@@ -556,7 +556,7 @@ code_mode = true
|
|||||||
panic!("expected warning event");
|
panic!("expected warning event");
|
||||||
};
|
};
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
"Under-development features enabled: code_mode, multi_agent_v2. Under-development features are incomplete and may behave unpredictably. To suppress this warning, set `suppress_unstable_features_warning = true` in /tmp/config.toml.".to_string(),
|
"Under-development features enabled: code_mode. Under-development features are incomplete and may behave unpredictably. To suppress this warning, set `suppress_unstable_features_warning = true` in /tmp/config.toml.".to_string(),
|
||||||
message
|
message
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user