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:
parent
bd79b58e78
commit
f7c8d4c14c
1 changed files with 47 additions and 19 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in a new issue