openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
35 lines (34 loc) • 1.15 kB
TypeScript
import { CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF } from "openclaw/plugin-sdk/provider-models";
import { type OpenClawConfig } from "openclaw/plugin-sdk/provider-onboard";
export { CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF };
export declare function buildCloudflareAiGatewayConfigPatch(params: {
accountId: string;
gatewayId: string;
}): {
models: {
providers: {
"cloudflare-ai-gateway": {
baseUrl: string;
api: "anthropic-messages";
models: import("openclaw/plugin-sdk/provider-models").ModelDefinitionConfig[];
};
};
};
agents: {
defaults: {
models: {
"cloudflare-ai-gateway/claude-sonnet-4-5": {
alias: string;
};
};
};
};
};
export declare function applyCloudflareAiGatewayProviderConfig(cfg: OpenClawConfig, params?: {
accountId?: string;
gatewayId?: string;
}): OpenClawConfig;
export declare function applyCloudflareAiGatewayConfig(cfg: OpenClawConfig, params?: {
accountId?: string;
gatewayId?: string;
}): OpenClawConfig;