openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
38 lines • 1.24 kB
TypeScript
import { s as ModelDefinitionConfig } from "./types.models-O5iWV16x.js";
//#region extensions/cerebras/models.d.ts
/** Base URL for Cerebras OpenAI-compatible inference. */
declare const CEREBRAS_BASE_URL: string;
/** Cerebras model catalog entries from the plugin manifest. */
declare const CEREBRAS_MODEL_CATALOG: ({
id: string;
name: string;
input: string[];
reasoning: boolean;
contextWindow: number;
maxTokens: number;
cost: {
input: number;
output: number;
cacheRead: number;
cacheWrite: number;
};
} | {
id: string;
name: string;
input: string[];
contextWindow: number;
maxTokens: number;
cost: {
input: number;
output: number;
cacheRead: number;
cacheWrite: number;
};
reasoning?: undefined;
})[];
/** Builds normalized Cerebras catalog model definitions. */
declare function buildCerebrasCatalogModels(): ModelDefinitionConfig[];
/** Builds one normalized Cerebras model definition from a manifest entry. */
declare function buildCerebrasModelDefinition(model: (typeof CEREBRAS_MODEL_CATALOG)[number]): ModelDefinitionConfig;
//#endregion
export { buildCerebrasModelDefinition as i, CEREBRAS_MODEL_CATALOG as n, buildCerebrasCatalogModels as r, CEREBRAS_BASE_URL as t };