export interface ModelSwitchArgs { /** 目标模型名(rollback 可省略;rollback-weights 必填) */ name?: string; /** 档位:executor / pipeline(缺省 executor) */ lane?: 'executor' | 'pipeline'; /** 灰度比例 1-99;100/缺省 = 晋升全量(强制人审) */ percent?: number; /** 动作:switch(默认)/ rollback(模型级)/ rollback-weights(权重版本级) */ action?: 'switch' | 'rollback' | 'rollback-weights'; /** 权重版本回滚目标(rollback-weights 可选——缺省回拨上一版本) */ target_version?: string; /** 🔴 人工确认(晋升 percent=100 与 rollback 时必填 true) */ human_confirmed?: boolean; /** 备注(灰度依据 / 回滚原因) */ comment?: string; } export interface ModelSwitchToolResult { text: string; data: { isError: boolean; ok: boolean; /** 是否挂起等人审(ok=true 但 awaitingHuman=true = 未执行) */ awaitingHuman: boolean; issues: string[]; model?: string; lane?: string; percent?: number; }; } export declare function modelSwitch(args: ModelSwitchArgs): Promise; //# sourceMappingURL=model-switch.d.ts.map