updateState(
inputConfig: LangGraphRunnableConfig,
values: unknown,
asNode: string | keyof Nodes
): Promise| Name | Type | Description |
|---|---|---|
inputConfig* | LangGraphRunnableConfig | |
values* | unknown | |
asNode | string | keyof Nodes |
Updates the state of the graph with new values. Requires a checkpointer to be configured.
This method can be used for:
Configuration for the update
The values to update the state with
Optional node name to attribute the update to