/** * Auto Router:本地确定性路由,纯函数、带版本号。 * 只分析当前用户原始请求与附件元数据,不拼接系统上下文/历史记录/附件正文。 * 不因文本长度单独升级、不因存在附件单独升级;`max` 必须有明确规则命中。 */ export declare const AUTO_ROUTER_VERSION = "v1"; export type AutoThinkingLevel = "low" | "medium" | "high" | "xhigh" | "max"; export type AutoRouteTier = "simple" | "standard" | "complex" | "critical"; export type AutoRouteReason = "explicit_quality_first" | "complex_reasoning" | "simple_task" | "general_task"; export interface AutoRouteResult { model: string; thinking: AutoThinkingLevel; tier: AutoRouteTier; reason: AutoRouteReason; version: string; } export interface AutoRouteInput { query: string; attachmentKinds: string[]; attachmentFormats: string[]; agentId: string; } /** Auto Router 只能输出这四个模型槽位(Feature Flag 配置)。 */ export interface AutoModelRoutingSlots { simpleModel: string; standardModel: string; complexModel: string; criticalModel: string; } export declare function resolveAutoModelRoute(input: AutoRouteInput, slots: AutoModelRoutingSlots): AutoRouteResult; /** * 指定模型模式下的模型默认推理等级:从 `autoModelRouting.thinkingDefaults` 读取。 * 未配置或未命中时返回 undefined(由 OpenClaw 自行解析该模型默认配置)。 */ export declare function resolveModelThinkingDefault(thinkingDefaults: Record | undefined, modelRef: string): string | undefined; //# sourceMappingURL=auto-model-router.d.ts.map