mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-17 21:25:46 +02:00
docs: update name of CompiledGraph CompiledStateGraph (#5348)
The name (and type) has changed. See: https://langchain-ai.github.io/langgraph/reference/graphs/#langgraph.graph.state.StateGraph.compile
This commit is contained in:
@@ -112,7 +112,7 @@ This tells the graph to terminate after running the chatbot node.
|
||||
## 6. Compile the graph
|
||||
|
||||
Before running the graph, we'll need to compile it. We can do so by calling `compile()`
|
||||
on the graph builder. This creates a `CompiledGraph` we can invoke on our state.
|
||||
on the graph builder. This creates a `CompiledStateGraph` we can invoke on our state.
|
||||
|
||||
```python
|
||||
graph = graph_builder.compile()
|
||||
|
||||
Reference in New Issue
Block a user