openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
35 lines • 1.89 kB
TypeScript
import { oM as ReplyPayload } from "../config-contracts--zSNHFlu.js";
import { r as OpenClawConfig } from "../types.openclaw-A0y1x1SF.js";
import "../index-DSy-_0fC.js";
import "../thinking.shared-P39tMoqY.js";
import "../approval-types-Bh5AmS0_.js";
import "../types-BLzNI-JA.js";
import "../provider-context-CpgCkjY9.js";
import { a as getModelsRuntimeChoices, i as buildPreparedModelsProviderData, n as ModelsProviderData, o as ModelsProviderMenu, r as ModelsRuntimeChoice, t as ModelsCommandSessionEntry } from "../commands-models-catalog-BgrGLads.js";
import "../model-visibility-policy-Dw9gwCjl.js";
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>;
export declare function buildModelsProviderData(...args: Parameters<typeof buildPreparedModelsProviderData>): Promise<ModelsProviderData>;
export { type ModelsProviderData, type ModelsRuntimeChoice, buildPreparedModelsProviderData, getModelsRuntimeChoices };