MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / getEnvVarName

Function getEnvVarName

apps/cli/src/lib/utils/provider.ts:13–15  ·  view source on GitHub ↗
(provider: SupportedProvider)

Source from the content-addressed store, hash-verified

11}
12
13export function getEnvVarName(provider: SupportedProvider): string {
14 return envVarMap[provider]
15}
16
17export function getApiKeyFromEnv(provider: SupportedProvider): string | undefined {
18 const envVar = getEnvVarName(provider)

Callers 2

runFunction · 0.85
getApiKeyFromEnvFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected