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

Function isAnthropicDirectApiKeySource

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

Source from the content-addressed store, hash-verified

87}
88
89export function isAnthropicDirectApiKeySource(
90 source: string | null | undefined,
91): boolean {
92 return getDirectApiKeyProviderKindForSource(source) === 'anthropic'
93}

Callers 1

getAuthProviderFunction · 0.85

Tested by

no test coverage detected