feat(tui): show model variant in subagent footer - #38772
Conversation
|
The following comment was made by an LLM, it may be inaccurate: Based on my search results, I found several related PRs that address similar concerns about model variants and subagent sessions, but no exact duplicate PRs: Related but not duplicates:
These are related to variant handling in subagents but don't appear to be addressing the specific feature of displaying model variant information in the subagent footer. |
|
This fix lands exactly what's missing in the subagent footer. I'm on opencode 1.18.15 (Windows): when I navigate into a subagent session I only see the agent name and context — the main prompt shows the variant, but the subagent footer drops it entirely. For reasoning models that matters: high vs xhigh can be a very different cost, and there's no way to tell what the subagent is actually running. This also ties into #38495 (model and token usage missing in subagent view) — it feels like one gap, not two. In the meantime I'm looking for a way to patch around this in my setup until it's merged. Happy to test once it's in a dev build. |
Issue for this PR
Closes #26266
Type of change
What does this PR do?
Adds model, provider, and variant details to subagent sessions, similar to the main-agent footer.
A persisted non-default session variant is shown first. Legacy sessions fall back to a matching configured agent variant or supported
reasoningEffort. Existing usage and navigation details stay unchanged.How did you verify your code works?
bun test test/cli/tuibun turbo typecheckScreenshots / recordings
Checklist