HistoryConformanceFactory

Returns a session whose backend holds seed.checkpoints, loaded so the snapshot lists them, or a session with an empty loaded history when there is no seed.

import type { HistoryConformanceFactory } from '@threadplane/angular/chat/testing';

Declaration

export type HistoryConformanceFactory = (seed?: {
    readonly checkpoints: readonly AgentCheckpoint[];
}) => AgentSession | Promise<AgentSession>;