MCPcopy Index your code
hub / github.com/BlockRunAI/ClawRouter / buildProviderModels

Function buildProviderModels

src/models.ts:1460–1466  ·  view source on GitHub ↗
(baseUrl: string)

Source from the content-addressed store, hash-verified

1458 * @param baseUrl - The proxy's local base URL (e.g., "http://127.0.0.1:12345")
1459 */
1460export function buildProviderModels(baseUrl: string): ModelProviderConfig {
1461 return {
1462 baseUrl: `${baseUrl}/v1`,
1463 api: "openai-completions",
1464 models: VISIBLE_OPENCLAW_MODELS,
1465 };
1466}
1467
1468/**
1469 * Check if a model is optimized for agentic workflows.

Callers 1

modelsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected