MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / buildModelsUrl

Function buildModelsUrl

src/setup/provider-test.ts:11–13  ·  view source on GitHub ↗
(baseUrl: string)

Source from the content-addressed store, hash-verified

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

Callers 2

probeProviderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected