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

Function getAllowedFirstPartyHosts

src/utils/model/providers.ts:68–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66}
67
68function getAllowedFirstPartyHosts(): string[] {
69 const allowedHosts = [
70 ...FIRST_PARTY_NOUMENA_HOSTS,
71 ...FIRST_PARTY_ANTHROPIC_HOSTS,
72 ]
73 if (process.env.USER_TYPE === 'ant') {
74 allowedHosts.push('api-staging.anthropic.com')
75 }
76 return allowedHosts
77}
78
79export function isFirstPartyBaseUrlValue(
80 baseUrl: string | undefined,

Callers 1

isFirstPartyBaseUrlValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected