(baseUrl: string)
| 1458 | * @param baseUrl - The proxy's local base URL (e.g., "http://127.0.0.1:12345") |
| 1459 | */ |
| 1460 | export 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. |