MCPcopy Index your code
hub / github.com/microsoft/TypeChat / missingEnvironmentVariable

Function missingEnvironmentVariable

typescript/src/model.ts:338–340  ·  view source on GitHub ↗

* Throws an exception for a missing environment variable.

(name: string)

Source from the content-addressed store, hash-verified

336 * Throws an exception for a missing environment variable.
337 */
338function missingEnvironmentVariable(name: string): never {
339 throw new Error(`Missing environment variable: ${name}`);
340}

Callers 1

createLanguageModelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected