@threadplane/langgraphTypeAliasv0.3.7

LangGraphResumeOptions

Options for resume: the run options, and what the core contract lets a caller send in the same request as the answers. state is merged before the paused graph continues, and message or blocks appends a user message. They travel in the resume command's update, beside run.command.update.

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

Declaration

export type LangGraphResumeOptions<TState = unknown> = LangGraphRunOptions & {
    readonly message?: string;
    readonly blocks?: readonly ContentBlock[];
    readonly state?: LangGraphSubmitState<TState>;
};

Type parameters

TState
Default: unknown