MCPcopy Create free account
hub / github.com/cli/cli / load

Function load

evals/src/replay.ts:30–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 const source = (await stat(absolute)).isDirectory() ? join(absolute, evidenceFile) : absolute;
29 const evidence = parseTrialEvidence(JSON.parse(await readFile(source, "utf8")));
30 const load = async () => evidence;
31 const input = { trajectory: trajectory(source) };
32 // Raw-API stimuli ask for a direct API stream, so, as in their eval.yml, they skip the route and polling checks.
33 const selected = evidence.variant === "raw-api"

Calls

no outgoing calls