Update ToolSearch to be enabled by default (#17854)

## Summary
- Promote `Feature::ToolSearch` to `Stable` and enable it in the default
feature set
- Update feature tests and tool registry coverage to match the new
default
- Adjust the search-tool integration test to assert the default-on path
and explicit disable fallback

## Testing
- `just fmt`
- `cargo test -p codex-features`
- `cargo test -p codex-core --test all search_tool`
- `cargo test -p codex-tools`
This commit is contained in:
Matthew Zeng
2026-04-15 22:01:05 -07:00
committed by GitHub
parent bd61737e8a
commit 77fe33bf72
4 changed files with 19 additions and 15 deletions

View File

@@ -128,9 +128,9 @@ fn tool_suggest_is_stable_and_enabled_by_default() {
}
#[test]
fn tool_search_is_under_development_and_disabled_by_default() {
assert_eq!(Feature::ToolSearch.stage(), Stage::UnderDevelopment);
assert_eq!(Feature::ToolSearch.default_enabled(), false);
fn tool_search_is_stable_and_enabled_by_default() {
assert_eq!(Feature::ToolSearch.stage(), Stage::Stable);
assert_eq!(Feature::ToolSearch.default_enabled(), true);
}
#[test]