@threadplane/langgraphInterfacev0.3.7

LangGraphBranchFork

A point in a branch tree where the history splits into alternatives.

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

Declaration

export interface LangGraphBranchFork  {
  readonly items: readonly LangGraphBranchTree[];
  readonly type: 'fork';
}

Members

items

The alternative continuations, oldest first: the last is the newest.

readonly items: readonly LangGraphBranchTree[];

type

Always 'fork'.

readonly type: 'fork';