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

Function isCurrentExternalEnvApiKeySession

src/services/api/errors.ts:235–242  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

233}
234
235function isCurrentExternalEnvApiKeySession(): boolean {
236 const session = getCurrentErrorSession()
237 return (
238 session?.rawApiKeySource === 'NOUMENA_API_KEY' ||
239 session?.rawApiKeySource === 'ANTHROPIC_API_KEY' ||
240 session?.rawApiKeySource === 'OPENAI_API_KEY'
241 )
242}
243
244function isCurrentExternalApiKeySession(): boolean {
245 const session = getCurrentErrorSession()

Callers 2

Calls 1

getCurrentErrorSessionFunction · 0.85

Tested by

no test coverage detected