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

Function required

evals/src/core/executor.ts:26–30  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

24const sourceRoot = fileURLToPath(new URL("../../..", import.meta.url));
25
26function required(name: string): string {
27 const value = process.env[name];
28 if (!value?.trim()) throw new Error(`${name} must be supplied explicitly`);
29 return value;
30}
31
32/** The agent's working budget: a development override, the stimulus constraint, or the whole trial timeout. */
33export function effectiveAgentBudget(

Callers 1

setupMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected