Watch
0
0
Fork
You've already forked hyperhive
0

swarm-ui: the model and effort badges on an agent's terminal open its inference settings

Clicking either opens the settings in a popover under the badge, the same panel the agent's card has. A subagent's terminal keeps plain badges.
This commit is contained in:
iris 2026-11-12 09:13:16 +01:00 • committed by mara
commit f7c8d4c14c

View file

@ -145,7 +145,14 @@ export function AgentTermPreview({
}}
/>
)}
{header && <StateBadges header={header} ctx={ctx} cost={cost} />}
{header && (
<StateBadges
header={header}
ctx={ctx}
cost={cost}
agent={subagent === undefined ? agentName : undefined}
/>
)}
{header && subagent === undefined && (
<CancelTurnBadge
agentName={agentName}