@threadplane/langgraphInterfacev0.3.7

LangGraphBranchTree

A history page as a tree: a run of checkpoints, splitting where a checkpoint has several children.

import type { LangGraphBranchTree } from '@threadplane/langgraph';

Declaration

export interface LangGraphBranchTree  {
  readonly items: readonly (LangGraphBranchNode | LangGraphBranchFork)[];
  readonly type: 'sequence';
}

Members

items

The checkpoints and forks of this run, oldest first.

readonly items: readonly (LangGraphBranchNode | LangGraphBranchFork)[];

type

Always 'sequence'.

readonly type: 'sequence';