Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

266 B
Raw Blame
const COMPACTION_ITEM_TYPES: ReadonlySet<string> = new Set([
  "compaction",
  "compaction_summary",
  "context_compaction",
]);

export function isCompactionItemType(type: unknown): boolean {
  return typeof type === "string" && COMPACTION_ITEM_TYPES.has(type);
}