chore: rename collab feature flag key to multi_agent (#11918)

Summary
- rename the collab feature key to multi_agent while keeping the Feature
enum unchanged
- add legacy alias support so both "multi_agent" and "collab" map to the
same feature
- cover the alias behavior with a new unit test
This commit is contained in:
jif-oai
2026-02-16 15:28:31 +00:00
committed by GitHub
parent b3095679ed
commit e41536944e
3 changed files with 17 additions and 1 deletions

View File

@@ -33,6 +33,10 @@ const ALIASES: &[Alias] = &[
legacy_key: "web_search",
feature: Feature::WebSearchRequest,
},
Alias {
legacy_key: "collab",
feature: Feature::Collab,
},
];
pub(crate) fn legacy_feature_keys() -> impl Iterator<Item = &'static str> {