Skip to main content

CandidateReport

Defined in the config module.
AI Agent Outcome of validating a candidate config before cutover. Produced by :meth:ReloadValidationProtocol.validate_candidate: the gateway builds/boots the candidate runtime in isolation (or a pre-flight) and reports whether it is healthy enough to swap in. When ok is False the live config keeps serving and the failures feed :class:~praisonaiagents.gateway.protocols.ReloadStatus.error / health(). Attributes: ok: Whether the candidate built and passed pre-flight — only then may the live runtime be drained and the candidate swapped in. failures: Human-readable reasons the candidate was rejected (empty when ok); joined into the reload error an operator sees. candidate: Optional opaque handle to the already-built candidate runtime the wrapper activates on success. Left untyped so core carries no heavy runtime import; None when the runtime validates in place.

Properties

bool
No description available.
'List[str]'
No description available.
Optional
No description available.

Source

View on GitHub

praisonaiagents/gateway/config.py at line 320