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

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:
AetherForge
2026-06-07 02:14:28 -07:00
parent 34afa28f81
commit 0002e5fd93
33 changed files with 2791 additions and 12 deletions

View File

@@ -63,6 +63,12 @@ func TestHandleMessageNewJobSetsJob(t *testing.T) {
}
}
func TestHandleMessageAISnapshotRequest(t *testing.T) {
c := newTestClient(t)
// Should schedule push without panicking (write fails safely with nil conn).
c.handleMessage(Message{Type: "ai_snapshot_request", Payload: json.RawMessage("{}")})
}
func TestHandleMessageNewJobWithErrorRetries(t *testing.T) {
c := newTestClient(t)
// Error payload — pool not ready yet.