MCPcopy
hub / github.com/enricoros/big-AGI / _DispatchResult

Interface _DispatchResult

tools/develop/llm-parameter-sweep/sweep.ts:718–723  ·  view source on GitHub ↗

* Result of a single dispatch+parse cycle. `fatalResult` is set when the dispatch itself failed or * produced a non-ok stop reason, meaning the caller should immediately return a classified TestResult * (the collector's function-call state is not reliable in that case).

Source from the content-addressed store, hash-verified

716 * (the collector's function-call state is not reliable in that case).
717 */
718interface _DispatchResult {
719 collector: SweepCollectorTransmitter;
720 verboseLogs: string[];
721 debugRequestBody: string | undefined;
722 fatalResult?: Pick<TestResult, 'outcome' | 'errorMessage' | 'errorCategory' | 'httpStatus' | 'verboseLogs'>;
723}
724
725/**
726 * Build the vendor HTTP request, fetch, parse the response into a collector, and classify top-level outcomes

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected