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

Function getDefaultApiBaseUrl

src/services/api/filesApi.ts:34–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32// session-compatible first-party platform base. Legacy ANTHROPIC_BASE_URL is
33// honored only when it still points at a trusted first-party Anthropic host.
34function getDefaultApiBaseUrl(): string {
35 return (
36 process.env.CLAUDE_CODE_API_BASE_URL ||
37 getSessionCompatiblePlatformBaseUrl()
38 )
39}
40
41function logDebugError(message: string): void {
42 logForDebugging(`[files-api] ${message}`, { level: 'error' })

Callers 3

downloadFileFunction · 0.85
uploadFileFunction · 0.85
listFilesCreatedAfterFunction · 0.85

Tested by

no test coverage detected