interface LangGraphRunnableConfigRunnableConfig<ContextType>Partial<Runtime<ContextType, unknown, unknown>>User provided context
Read-only execution information/metadata for the current node run. Undefined before task preparation.
Interrupts the execution of a graph node.
This function can be used to pause execution of a node, and return the value of the resume
input when the graph is re-invoked using Command.
Multiple interrupts can be called within a single node, and each will be handled sequentially.
When an interrupt is called:
resume value available (from a previous Command), it returns that value.GraphInterrupt with the provided valueCommand with a resume valueBecause the interrupt function propagates by throwing a special GraphInterrupt error,
you should avoid using try/catch blocks around the interrupt function,
or if you do, ensure that the GraphInterrupt error is thrown again within your catch block.
The run ID for the current execution. Undefined when runId is not provided in the config.
Metadata injected by LangGraph Server. Undefined when running open-source LangGraph without LangSmith deployments.
Abort signal to cancel the run.
Optional long-term memory store for the graph, allows for persistence & retrieval of data across threads
Callback to send custom data chunks via the custom stream mode