feat(ui): Display model name in subagent task headers #6826

Closed
opened 2026-02-16 18:05:22 -05:00 by yindo · 3 comments
Owner

Originally created by @teron131 on GitHub (Jan 19, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

When using subagents in OpenCode, it is currently not possible to see which LLM model is powering the subagent task directly in the UI.

I would like to see the model ID displayed in the task header.

Why

This helps users verify they are using the intended model for subagents / background tasks (e.g. using a stronger model for reasoning vs a faster one for simple search), without having to check configuration or logs.

Expected Behavior

Render the model ID next to the task name, for example:
# Librarian Task · gpt-5.2

Originally created by @teron131 on GitHub (Jan 19, 2026). Originally assigned to: @rekram1-node on GitHub. ## Description When using subagents in OpenCode, it is currently not possible to see which LLM model is powering the subagent task directly in the UI. I would like to see the model ID displayed in the task header. ## Why This helps users verify they are using the intended model for subagents / background tasks (e.g. using a stronger model for reasoning vs a faster one for simple search), without having to check configuration or logs. ## Expected Behavior Render the model ID next to the task name, for example: `# Librarian Task · gpt-5.2`
yindo added the opentui label 2026-02-16 18:05:22 -05:00
yindo closed this issue 2026-02-16 18:05:22 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 19, 2026):

This issue might be related to existing issues about background task visibility. Please check:

  • #8322: Show background tasks status in sidebar (related to call_omo_agent rendering and visibility)

The current issue focuses specifically on the missing model metadata in the UI header, while #8322 is a feature request for overall background task visibility in the sidebar. These could be addressed together as part of improving the background task rendering in the TUI.

@github-actions[bot] commented on GitHub (Jan 19, 2026): This issue might be related to existing issues about background task visibility. Please check: - #8322: Show background tasks status in sidebar (related to call_omo_agent rendering and visibility) The current issue focuses specifically on the missing model metadata in the UI header, while #8322 is a feature request for overall background task visibility in the sidebar. These could be addressed together as part of improving the background task rendering in the TUI.
Author
Owner

@rekram1-node commented on GitHub (Jan 19, 2026):

This doesnt seem like an opencode bug, this comes from your plugin, we don't have this component

@rekram1-node commented on GitHub (Jan 19, 2026): This doesnt seem like an opencode bug, this comes from your plugin, we don't have this component
Author
Owner

@teron131 commented on GitHub (Jan 19, 2026):

This doesnt seem like an opencode bug, this comes from your plugin, we don't have this component

Sorry, this is a feature request that subagents / background tasks should show model IDs as well. I see that the logs contain them as well, but it is hard to trace or debug.

Image Image
@teron131 commented on GitHub (Jan 19, 2026): > This doesnt seem like an opencode bug, this comes from your plugin, we don't have this component Sorry, this is a feature request that subagents / background tasks should show model IDs as well. I see that the logs contain them as well, but it is hard to trace or debug. <img width="1644" height="542" alt="Image" src="https://github.com/user-attachments/assets/d1e6f73d-af81-469a-96c7-c0a1ea12e94f" /> <img width="2052" height="914" alt="Image" src="https://github.com/user-attachments/assets/57341322-5a62-4b27-a64d-360a82bbb63f" />
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6826