@threadplane/ag-uiFunctionv0.3.7

interruptSession

Display only: reads the full interrupt batch and how far its answer has got from a session snapshot. The same decision in the same phase returns the same reference.

import { interruptSession } from '@threadplane/ag-ui';

Declaration · overload 1

export declare function interruptSession(snapshot: {
    readonly decision?: Decision;
    readonly run?: DecisionRun;
}): InterruptSession;

Parameters

snapshot · required
{ readonly decision?: Decision; readonly run?: DecisionRun; }

Returns

InterruptSession