(providerId: string)
| 359 | } |
| 360 | |
| 361 | export function getDefaultBaseUrl(providerId: string): string { |
| 362 | const config = getProviderConfig(providerId); |
| 363 | return config.defaultBaseUrl; |
| 364 | } |
| 365 | |
| 366 | export function detectProviderFromUrl(url: string): string { |
| 367 | if (!url) return "custom"; |
no test coverage detected