Files
openclaw/extensions/litellm/provider-catalog.ts
2026-06-04 21:02:07 -04:00

12 lines
417 B
TypeScript

// Litellm provider module implements model/runtime integration.
import type { ModelProviderConfig } from "openclaw/plugin-sdk/provider-model-shared";
import { buildLitellmModelDefinition, LITELLM_BASE_URL } from "./onboard.js";
export function buildLitellmProvider(): ModelProviderConfig {
return {
baseUrl: LITELLM_BASE_URL,
api: "openai-completions",
models: [buildLitellmModelDefinition()],
};
}