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

Function isOpenAIDirectApiKeySource

src/utils/authEnv.ts:83–87  ·  view source on GitHub ↗
(
  source: string | null | undefined,
)

Source from the content-addressed store, hash-verified

81}
82
83export function isOpenAIDirectApiKeySource(
84 source: string | null | undefined,
85): boolean {
86 return getDirectApiKeyProviderKindForSource(source) === 'openai_compat'
87}
88
89export function isAnthropicDirectApiKeySource(
90 source: string | null | undefined,

Callers 2

resolveSessionSnapshotFunction · 0.85
getAuthProviderFunction · 0.85

Tested by

no test coverage detected