import type { SanitizeRule } from '../types'; /** * 尾部 assistant 消息检测规则。 * * 检测场景:消息列表以 assistant 消息结尾(而非 user 或 tool)。 * 问题原因:大多数 LLM API 要求最后一条消息来自用户侧。 * 修复策略:追加占位符 user 消息 "[System: Please continue.]"。 * * @example * 输入: [user, assistant] * 输出: [user, assistant, user("[System: Please continue.]")] */ export declare const trailingAssistantRule: SanitizeRule;