runAgentWithHistoryConformance

Conformance suite for AgentWithHistory implementations.

Runs the base Agent conformance suite, then verifies the history signal is present and returns an array of AgentCheckpoint-shaped entries.

import { runAgentWithHistoryConformance } from '@threadplane/chat/testing';

Declaration · overload 1

export declare function runAgentWithHistoryConformance(label: string, factory: (seed?: {
    history?: AgentCheckpoint[];
}) => AgentWithHistory): void;

Parameters

label · required
string
factory · required
(seed?: { history?: AgentCheckpoint[]; }) => AgentWithHistory

Returns

void