@threadplane/langgraphInterfacev0.3.7

LangGraphCheckpoint

One saved checkpoint of a loaded history page, with the state it holds: the core contract's checkpoint, with the LangGraph record alongside.

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

Declaration

export interface LangGraphCheckpoint extends AgentCheckpoint  {
  readonly id: string | undefined;
  readonly label: string | undefined;
  readonly saved: DeepReadonly<ThreadState>;
  readonly values: LangGraphState;
}

Members

id

The checkpoint id; undefined when the backend sent none.

readonly id: string | undefined;

label

The first node the checkpoint would run next; undefined at the end.

readonly label: string | undefined;

saved

The checkpoint as the backend sent it.

readonly saved: DeepReadonly<ThreadState>;

values

The graph state the checkpoint saved, messages included.

readonly values: LangGraphState;