feat: display per-agent model in agent monitor tree #207

Closed
opened 2026-03-10 09:15:45 -07:00 by hikari · 0 comments
Owner

Summary

CLI v2.1.72 restored the model parameter on the Agent tool, allowing per-invocation model overrides. Additionally, team agents now inherit the leader's model. The agent monitor tree should surface this information so users can see which model each agent is running on.

Required Changes

Backend (types.rs)

  • Add model: Option<String> to AgentStartEvent
  • Parse the model field from the Agent tool's input block when emitting claude:agent-start

Frontend (AgentMonitor)

  • Display the model name alongside each agent in the tree (e.g., as a badge or subtitle)
  • Use a distinct colour/style for agents running on a non-default model to make overrides obvious

Reference

  • CLI v2.1.72: "Restored the model parameter on the Agent tool for per-invocation model overrides"
  • CLI v2.1.72: "Fixed team agents to inherit the leader's model"

This issue was created with help from Hikari~ 🌸

## Summary CLI v2.1.72 restored the `model` parameter on the Agent tool, allowing per-invocation model overrides. Additionally, team agents now inherit the leader's model. The agent monitor tree should surface this information so users can see which model each agent is running on. ## Required Changes ### Backend (`types.rs`) - Add `model: Option<String>` to `AgentStartEvent` - Parse the `model` field from the Agent tool's `input` block when emitting `claude:agent-start` ### Frontend (`AgentMonitor`) - Display the model name alongside each agent in the tree (e.g., as a badge or subtitle) - Use a distinct colour/style for agents running on a non-default model to make overrides obvious ## Reference - CLI v2.1.72: "Restored the `model` parameter on the Agent tool for per-invocation model overrides" - CLI v2.1.72: "Fixed team agents to inherit the leader's model" ✨ This issue was created with help from Hikari~ 🌸
naomi closed this issue 2026-03-13 01:34:45 -07:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/hikari-desktop#207