Skip to content

Updates

ChatModelStartUpdate dataclass

Bases: GraphStreamUpdate

Partial graph state during stream.

input instance-attribute

name instance-attribute

__init__(name, input)

ChatModelStreamUpdate dataclass

Bases: GraphStreamUpdate

Partial graph state during stream.

chunk instance-attribute

name instance-attribute

__init__(name, chunk)

GraphStreamUpdate dataclass

Bases: LanggraphUpdate

Partial graph state during stream.

https://api.python.langchain.com/en/latest/runnables/langchain_core.runnables.base.Runnable.html#langchain_core.runnables.base.Runnable.astream_events

name instance-attribute

__init__(name)

GraphValuesUpdate dataclass

Bases: LanggraphUpdate

Full values of graph at end of super-step.

data instance-attribute

__init__(data)

LanggraphUpdate dataclass

Bases: Update

UnhandledLanggraphError

Bases: BackendError

An error that was not handled by the langgraph service.