Skip to content

fix(ui): show model with subagent thinking level#168

Open
xz-dev wants to merge 4 commits into
tintinweb:masterfrom
xz-dev:fix/show-effective-agent-model
Open

fix(ui): show model with subagent thinking level#168
xz-dev wants to merge 4 commits into
tintinweb:masterfrom
xz-dev:fix/show-effective-agent-model

Conversation

@xz-dev

@xz-dev xz-dev commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • always retain the effective model name for Agent UI rendering, including runs that inherit the parent model
  • show the model together with its model-dependent thinking level in collapsed and expanded Agent results and in ConversationViewer
  • keep model names safe for single-line terminal rendering

Why

A thinking level such as max has little meaning without the model it applies to. The UI previously hid the model name whenever a subagent used the same model as its parent session. Because the UI gave no indication that the model was inherited, users only saw that model names appeared for some runs and disappeared for others, leaving a bare thinking level with no visible model context.

Tests

  • npm run lint
  • npm run typecheck
  • npm run test — 749 passed, 5 skipped
  • npm run build

@xz-dev xz-dev changed the title fix(ui): show effective subagent model IDs fix(ui): show model with subagent thinking level Jul 23, 2026
xz-dev added a commit to xz-dev/pi-subagents-tintinweb that referenced this pull request Jul 23, 2026
xz-dev added a commit to xz-dev/pi-subagents-tintinweb that referenced this pull request Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant