@threadplane/langgraphInterfacev0.3.7

LangGraphBranchNode

One checkpoint in a branch tree, with the fork choices that lead to it.

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

Declaration

export interface LangGraphBranchNode  {
  readonly path: readonly string[];
  readonly type: 'node';
  readonly value: LangGraphCheckpoint;
}

Members

path

The fork choices that lead here: one checkpoint id for each fork passed.

readonly path: readonly string[];

type

Always 'node'.

readonly type: 'node';

value

The checkpoint at this position.

readonly value: LangGraphCheckpoint;