Watch
0
0
Fork
You've already forked hyperhive
0

swarm-ui: per-agent inference panel and editor on the agents page

The agent detail panel shows the model and effort an agent runs on with
where each comes from, plus the swarm's subagent model list. An edit
dialog sets the swarm value (PUT) and a clear action removes it (DELETE).
Reads the configured/effective view, and shows the stored values alone
until an agent has reported what it runs on.
This commit is contained in:
iris 2026-10-10 02:10:34 +02:00 • committed by mara
commit 0d04bd7295

View file

@ -0,0 +1,40 @@
/* <AgentInference> — one setting per line: badge, then where it comes from. */
.ui-agent-inference {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 0.3em;
}
.ui-agent-inference-list {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 0.3em;
}
.ui-agent-inference-list li {
display: flex;
align-items: center;
gap: 0.5em;
flex-wrap: wrap;
}
.ui-agent-inference-source,
.ui-agent-inference-muted {
color: var(--muted);
}
.ui-agent-inference-form {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 0.75em;
margin-top: 1em;
}
.ui-agent-inference-problem {
margin: 0;
color: var(--red);
}
.ui-agent-inference-actions {
display: flex;
align-items: center;
gap: 0.75em;
}