mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-01 16:40:21 +00:00
11 lines
346 B
TypeScript
11 lines
346 B
TypeScript
import type { ModelProviderConfig } from "openclaw/plugin-sdk/provider-models";
|
|
import { buildLitellmModelDefinition, LITELLM_BASE_URL } from "./onboard.js";
|
|
|
|
export function buildLitellmProvider(): ModelProviderConfig {
|
|
return {
|
|
baseUrl: LITELLM_BASE_URL,
|
|
api: "openai-completions",
|
|
models: [buildLitellmModelDefinition()],
|
|
};
|
|
}
|