(value: string | undefined)
| 16 | const FIRST_PARTY_ANTHROPIC_HOSTS = ['api.anthropic.com'] |
| 17 | |
| 18 | function normalizeEnvValue(value: string | undefined): string | undefined { |
| 19 | const normalized = value?.trim() |
| 20 | return normalized && normalized.length > 0 ? normalized : undefined |
| 21 | } |
| 22 | |
| 23 | export function getNoumenaBaseUrl(): string | undefined { |
| 24 | return normalizeEnvValue(process.env.NOUMENA_BASE_URL) |
no outgoing calls
no test coverage detected