MCPcopy Create free account
hub / github.com/Noumena-Network/code / getDirectApiKeyEnvValue

Function getDirectApiKeyEnvValue

src/utils/authEnv.ts:24–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22}
23
24export function getDirectApiKeyEnvValue(): string | undefined {
25 const envVarName = getDirectApiKeyEnvVarName()
26 return envVarName ? process.env[envVarName] : undefined
27}
28
29export function getDirectApiKeyProviderMode(
30 envVarName: DirectApiKeyEnvVarName | null = getDirectApiKeyEnvVarName(),

Callers 9

showSetupScreensFunction · 0.85
OnboardingFunction · 0.85
ConfigFunction · 0.85
onChangeFunction · 0.85
authEnv.test.tsFile · 0.85
getEffectiveApiKeyResultFunction · 0.85
getInferenceClientFunction · 0.85

Calls 1

Tested by

no test coverage detected