Add Calibrate AI Control UI and fleet LLM backend wiring.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Operators toggle Logic gates vs AI Control on Settings, refresh local Ollama models, and save ai_endpoint settings via Calibrate PUT; server scheduler and agent snapshot/command paths support stateless 60s fleet decisions.
This commit is contained in:
@@ -1300,6 +1300,102 @@ button.deliverable-card .form-hint {
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
/* Calibrate — Logic gates ↔ AI Control */
|
||||
.calibration-mode-toggle {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 0.65rem;
|
||||
margin: 1rem 0 1.25rem;
|
||||
}
|
||||
|
||||
.calibration-mode-btn {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 0.35rem;
|
||||
padding: 1rem 1.15rem;
|
||||
border-radius: 10px;
|
||||
border: 1px solid var(--border-brass);
|
||||
background: rgba(10, 10, 18, 0.65);
|
||||
color: var(--text-secondary);
|
||||
cursor: pointer;
|
||||
text-align: left;
|
||||
transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
|
||||
}
|
||||
|
||||
.calibration-mode-btn:hover {
|
||||
border-color: rgba(0, 232, 245, 0.35);
|
||||
background: rgba(0, 232, 245, 0.04);
|
||||
}
|
||||
|
||||
.calibration-mode-btn--active {
|
||||
border-color: rgba(232, 40, 168, 0.55);
|
||||
background: linear-gradient(145deg, rgba(232, 40, 168, 0.12) 0%, rgba(0, 232, 245, 0.06) 100%);
|
||||
color: var(--text-primary);
|
||||
box-shadow: 0 0 24px rgba(232, 40, 168, 0.15);
|
||||
}
|
||||
|
||||
.calibration-mode-label {
|
||||
font-family: var(--font-tech);
|
||||
font-size: 1.05rem;
|
||||
letter-spacing: 0.06em;
|
||||
text-transform: uppercase;
|
||||
color: var(--neon-cyan);
|
||||
}
|
||||
|
||||
.calibration-mode-btn--active .calibration-mode-label {
|
||||
color: var(--neon-magenta);
|
||||
}
|
||||
|
||||
.calibration-mode-sub {
|
||||
font-size: 0.88rem;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.calibration-ai-model-row {
|
||||
align-items: flex-end;
|
||||
gap: 0.75rem;
|
||||
margin-top: 0.75rem;
|
||||
}
|
||||
|
||||
.calibration-ai-meta {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.65rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.calibration-ai-info-chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.45rem;
|
||||
padding: 0.45rem 0.75rem;
|
||||
border-radius: 8px;
|
||||
border: 1px solid var(--border-neon);
|
||||
background: rgba(0, 232, 245, 0.05);
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.calibration-ai-info-chip .font-tech {
|
||||
color: var(--neon-amber);
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
|
||||
.calibration-ai-info-value {
|
||||
color: var(--neon-green);
|
||||
}
|
||||
|
||||
.calibration-ai-models-msg {
|
||||
margin-top: 0.35rem;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.calibration-mode-toggle {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
.forge-simple-banner {
|
||||
margin-bottom: 1rem;
|
||||
padding: 1rem 1.25rem;
|
||||
|
||||
Reference in New Issue
Block a user