SpeculativeValidation
Parameters and properties
Section titled “Parameters and properties”keyRequiredstringKey of the candidate being validated or scored.resultRequiredSpeculativeOutput<T>Dispatch output of the candidate: text, value, commits and usage.sandboxRequiredSandboxCandidate sandbox, still open during validate and score; it closes after both callbacks. Commits made in either callback become part of the candidate commit.signalRequiredAbortSignalAborts when another candidate wins in first mode, a token limit is reached or the race is cancelled; pass it to every command in validate and score.

