mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 15:47:28 +00:00
11 lines
350 B
TypeScript
11 lines
350 B
TypeScript
import type { ModelProviderConfig } from "openclaw/plugin-sdk/provider-model-shared";
|
|
import { buildCerebrasCatalogModels, CEREBRAS_BASE_URL } from "./models.js";
|
|
|
|
export function buildCerebrasProvider(): ModelProviderConfig {
|
|
return {
|
|
baseUrl: CEREBRAS_BASE_URL,
|
|
api: "openai-completions",
|
|
models: buildCerebrasCatalogModels(),
|
|
};
|
|
}
|