Validate Candidate • AI Agent SDK
validate_candidate: Build/boot the candidate from “new_config“ and pre-flight it.
validate_candidate
Async
Method
</div>
This is a method of the ReloadValidationProtocol class in the config module.
Build/boot the candidate from `new_config` and pre-flight it.
Must not stop or mutate the live runtime; on any failure return a report with `ok=False` and the reason(s) so the caller keeps the previous config serving.
Signature
async def validate_candidate(new_config: Mapping[str, Any]) -> CandidateReportParameters
ParamField
Mapping[str, Any]No description available.
Returns
ResponseField
CandidateReportThe result of the operation.
Source
View on GitHubpraisonaiagents/gateway/config.py at line 472