@sema-agent/core
Version:
Stateless, task-oriented AI agent core
5 lines (4 loc) • 343 B
TypeScript
/** Mark a content block object minted for this request only so the Anthropic adapter skips it when placing a history cache breakpoint. */
export declare function markRequestOnly(block: object): void;
/** Whether `block` is a registered request-only block by object identity. */
export declare function isRequestOnly(block: unknown): boolean;