mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
db49a9a565
Co-authored-by: Peter Steinberger <steipete@macos.shared>
30 lines
877 B
TypeScript
30 lines
877 B
TypeScript
/**
|
|
* Cerebras provider plugin entrypoint.
|
|
*/
|
|
import { defineSingleProviderPluginEntry } from "openclaw/plugin-sdk/provider-entry";
|
|
import { applyCerebrasConfig } from "./onboard.js";
|
|
import manifest from "./openclaw.plugin.json" with { type: "json" };
|
|
|
|
const PROVIDER_ID = "cerebras";
|
|
|
|
export default defineSingleProviderPluginEntry({
|
|
id: PROVIDER_ID,
|
|
name: "Cerebras Provider",
|
|
description: "Bundled Cerebras provider plugin",
|
|
manifest,
|
|
provider: {
|
|
label: "Cerebras",
|
|
docsPath: "/providers/cerebras",
|
|
manifestAuth: {
|
|
preserveExistingPrimary: true,
|
|
applyConfig: applyCerebrasConfig,
|
|
noteMessage: [
|
|
"Cerebras provides high-speed OpenAI-compatible inference for GPT OSS and GLM models.",
|
|
"Get your API key at: https://cloud.cerebras.ai",
|
|
].join("\n"),
|
|
noteTitle: "Cerebras",
|
|
},
|
|
catalog: {},
|
|
},
|
|
});
|