()
| 30 | // API base URL - uses ANTHROPIC_BASE_URL set by env-manager for the appropriate environment |
| 31 | // Falls back to public API for standalone usage |
| 32 | function getDefaultApiBaseUrl(): string { |
| 33 | return ( |
| 34 | process.env.ANTHROPIC_BASE_URL || |
| 35 | process.env.CLAUDE_CODE_API_BASE_URL || |
| 36 | 'https://api.anthropic.com' |
| 37 | ) |
| 38 | } |
| 39 | |
| 40 | function logDebugError(message: string): void { |
| 41 | logForDebugging(`[files-api] ${message}`, { level: 'error' }) |
no outgoing calls
no test coverage detected