MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getDefaultApiBaseUrl

Function getDefaultApiBaseUrl

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

Source from the content-addressed store, hash-verified

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
32function 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
40function logDebugError(message: string): void {
41 logForDebugging(`[files-api] ${message}`, { level: 'error' })

Callers 3

downloadFileFunction · 0.85
uploadFileFunction · 0.85
listFilesCreatedAfterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected