Subagent view header shows the main session's model, not the subagent's
Version: Claude Code v2.1.233 (CLI, Linux)
What happens: When viewing a running subagent (spawned via the Agent tool with an explicit model: "opus" override), the header of the subagent view still shows the main session's model — e.g. Fable 5 with high effort · Claude Max — while the transcript pane below is showing the subagent (@calendar in my case).
Why it's confusing: The subagent is actually running on claude-opus-5 (verified in its transcript JSONL — every assistant message records "model":"claude-opus-5", and the Agent tool call passed model: "opus"). The header made it look like the model override had been silently ignored and the agent was running on the parent's model. We only trusted the override after grepping the subagent transcripts on disk.
Expected: When the view is focused on a subagent, the header (or a line near the agent selector) should show that agent's resolved model, not the parent session's.
Repro:
- Start a session on one model (here: Fable 5).
- Spawn a named agent with
model: "opus"via the Agent tool. - Select the agent in the agents list (Enter to view).
- Header still shows the parent session's model.