()
| 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. |
| 34 | function getDefaultApiBaseUrl(): string { |
| 35 | return ( |
| 36 | process.env.CLAUDE_CODE_API_BASE_URL || |
| 37 | getSessionCompatiblePlatformBaseUrl() |
| 38 | ) |
| 39 | } |
| 40 | |
| 41 | function logDebugError(message: string): void { |
| 42 | logForDebugging(`[files-api] ${message}`, { level: 'error' }) |
no test coverage detected