tui: warn on Ultra with high multi-agent concurrency - #31621
Merged
Conversation
shijie-oai
marked this pull request as ready for review
July 8, 2026 19:09
fcoury-oai
approved these changes
Jul 8, 2026
fcoury-oai
left a comment
Contributor
There was a problem hiding this comment.
Smoke tested and worked as expected. Code looks good, approved 👍
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Ultra reasoning may proactively use multiple agents. When
features.multi_agent_v2.max_concurrent_threads_per_sessionis configured at 8 or higher, explicitly selecting Ultra can allow up toN - 1subagents to work concurrently and increase usage quickly. Showing the configured limits at selection time makes that tradeoff visible and points users to the setting that controls it.What changed
instasnapshot for the rendered warning.User impact
Users with high multi-agent concurrency receive a concrete warning immediately after selecting Ultra. Other reasoning efforts, limits below 8, and startup behavior are unchanged.
Screen.Recording.2026-07-08.at.11.07.56.AM.mov
Test plan
just test -p codex-tui ultra_reasoning_selectioncargo build -p codex-cli.