mirror of
https://github.com/openai/codex.git
synced 2026-09-20 12:47:38 +00:00
## Why Turn preparation waited for MCP discovery before requesting endpoint plugin recommendations, adding their latencies together. ## What changed - Prepare the MCP runtime and endpoint plugin recommendations concurrently. - Wait for both results before building tools and starting model sampling. - Cancel the combined preparation when the turn is interrupted. ## Testing - Add coverage that gates MCP initialization and verifies recommendation fetching overlaps it while the final request includes both results. - Verify interrupting concurrent preparation prevents model sampling. GitOrigin-RevId: 295ec268331bf05304e6b313925fd2b6c2ae4190