UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

41 lines • 2.08 kB
import { dj as ReplyPayload } from "../config-contracts-DqOiJKQx.js"; import { P as OpenClawConfig } from "../types-D3g9JHH2.js"; import "../index-DLlUvLzK.js"; import "../thinking.shared-CFZJvgsr.js"; import "../approval-types-DvHXW4T6.js"; import "../types-CeA70ktN.js"; import "../defaults-CrnmaOmj.js"; import "../config-CqQp4yQQ.js"; import "../model-catalog.types-Bf7KSKw2.js"; import { a as getModelsRuntimeChoices, i as buildPreparedModelsProviderData, n as ModelsProviderData, o as ModelsProviderMenu, r as ModelsRuntimeChoice, t as ModelsCommandSessionEntry } from "../commands-models-catalog-6b12giC5.js"; import "../model-visibility-policy-DqX3U9Sb.js"; //#region src/auto-reply/reply/commands-models.d.ts export declare const MODEL_PICKER_CHANGED_MESSAGE = "Available models changed. Open /models and choose again."; /** @deprecated Use formatModelsAvailableHeaderAsync. Supported through 2026-12-31. Removal in the first January 2027 stable release. */ export declare function formatModelsAvailableHeader(params: { provider: string; total: number; cfg: OpenClawConfig; agentId?: string; agentDir?: string; workspaceDir?: string; sessionEntry?: ModelsCommandSessionEntry; availability?: ModelsProviderMenu; }): string; export declare function formatModelsAvailableHeaderAsync(params: Parameters<typeof formatModelsAvailableHeader>[0]): Promise<string>; type ModelsCommandReplyParams = { cfg: OpenClawConfig; commandBodyNormalized: string; surface?: string; currentModel?: string; agentId?: string; agentDir?: string; workspaceDir?: string; sessionEntry?: ModelsCommandSessionEntry; }; export declare function resolveModelsCommandReply(params: ModelsCommandReplyParams): Promise<ReplyPayload | null>; //#endregion //#region src/plugin-sdk/models-provider-runtime.d.ts export declare function buildModelsProviderData(...args: Parameters<typeof buildPreparedModelsProviderData>): Promise<ModelsProviderData>; //#endregion export { type ModelsProviderData, type ModelsRuntimeChoice, buildPreparedModelsProviderData, getModelsRuntimeChoices };