Skip to content

feat(tui): show explicit subagent model - #49388

Merged
rekram1-node merged 1 commit into
v2from
subagent-model-ui
Sep 17, 2026
Merged

rekram1-node merged 1 commit into
v2from
subagent-model-ui

Conversation

@opencode-agent

Copy link
Copy Markdown
Contributor

Summary

  • Show the model after a subagent task when the tool call includes an explicit model override.
  • Resolve the configured display name and include an explicit variant when present.
  • Preserve the existing row when no model override was requested, with the raw reference as a fallback for unavailable models.

Verification

  • bun test test/cli/tui/inline-tool-wrap-snapshot.test.tsx
  • bun typecheck in packages/tui
  • OpenCode Drive before/after capture at 2cdd938152274f18eda570b975c91780c3d0dd76 and 55a7dd199ac87b8ebae37dd8b3d8378dce0c368c
  • bun run check completed lint with zero findings; the monorepo typecheck was unable to finish on the shared host because OS thread creation hit the host process limit. The affected-package typecheck above passed.

Requested by: @kitlangton (Kit via Slack)

@rekram1-node
rekram1-node merged commit fca4a8f into v2 Sep 17, 2026
10 checks passed
@rekram1-node
rekram1-node deleted the subagent-model-ui branch September 17, 2026 03:50
jinhuang712 pushed a commit to jinhuang712/opencode that referenced this pull request Sep 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants