@threadplane/langgraphTypeAliasv0.3.7

LangGraphSubmitState

Input state for a session: any plain record, or part of its declared state.

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

Declaration

export type LangGraphSubmitState<TState = unknown> = unknown extends TState ? LangGraphInputState : Partial<TState> & {
    readonly messages?: never;
    readonly client_tools?: never;
};

Type parameters

TState
Default: unknown