(baseUrl: string)
| 9 | |
| 10 | /** OpenAI-compatible model-list endpoint for a base URL (which already includes /v1). PURE. */ |
| 11 | export function buildModelsUrl(baseUrl: string): string { |
| 12 | return baseUrl.replace(/\/+$/, '') + '/models'; |
| 13 | } |
| 14 | |
| 15 | export interface ProbeResult { ok: boolean; detail: string } |
| 16 |
no outgoing calls
no test coverage detected