openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
38 lines • 1.78 kB
TypeScript
import { r as OpenClawConfig } from "../types.openclaw-yUy4bDSr.js";
import { LD as ReplyPayload } from "../config-contracts-DzLaG7FV.js";
import "../index-CQXOf3A9.js";
import "../approval-types-faKMZQ8q.js";
import "../defaults-zEwOvpuP.js";
import "../config-BqyL0TqI.js";
import "../thinking.shared-BjKqmaBJ.js";
import "../types-CeA70ktN.js";
import { a as getModelsRuntimeChoices, i as buildPreparedModelsProviderData, n as ModelsProviderData, o as ModelsProviderMenu, r as ModelsRuntimeChoice, t as ModelsCommandSessionEntry } from "../commands-models-catalog-ChF585Wb.js";
import "../model-visibility-policy-UJg0rijk.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.";
export declare function formatModelsAvailableHeader(params: {
provider: string;
total: number;
cfg: OpenClawConfig;
agentId?: string;
agentDir?: string;
workspaceDir?: string;
sessionEntry?: ModelsCommandSessionEntry;
availability?: ModelsProviderMenu;
}): 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 };