Skip to content

defer all tools behind feature flag#18097

Merged
sayan-oai merged 3 commits intomainfrom
dev/sayan/deferral-token-threshold
Apr 17, 2026
Merged

defer all tools behind feature flag#18097
sayan-oai merged 3 commits intomainfrom
dev/sayan/deferral-token-threshold

Conversation

@sayan-oai
Copy link
Copy Markdown
Collaborator

@sayan-oai sayan-oai commented Apr 16, 2026

add new tool_search_always_defer_mcp_tools feature flag that always defers all mcp tools rather than deferring once > 100 deferrable tools.

add new tests, also move mcp_exposure tests into dedicated file rather than polluting codex_tests.

@sayan-oai sayan-oai force-pushed the dev/sayan/deferral-token-threshold branch from f3fd9e6 to 37d1680 Compare April 17, 2026 06:16
Comment thread codex-rs/core/tests/suite/search_tool.rs
Comment thread codex-rs/core/tests/suite/search_tool.rs
Comment thread codex-rs/core/src/mcp_tool_exposure.rs Outdated
@sayan-oai sayan-oai merged commit d0047de into main Apr 17, 2026
45 of 47 checks passed
@sayan-oai sayan-oai deleted the dev/sayan/deferral-token-threshold branch April 17, 2026 10:34
@github-actions github-actions bot locked and limited conversation to collaborators Apr 17, 2026
@sayan-oai sayan-oai changed the title add token-based tool deferral behind feature flag defer all tools behind feature flag Apr 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants