Skip to content

The agent engineering platform.

core[patch]: Fix typo in docstring (graphm -> graph) (#23910)

G Sreejith3c752238c54d
diff --git a/libs/core/langchain_core/runnables/graph.py b/libs/core/langchain_core/runnables/graph.py
index 6cbe0bdc26..31f3cfcb1b 100644
--- a/libs/core/langchain_core/runnables/graph.py
+++ b/libs/core/langchain_core/runnables/graph.py
@@ -246,7 +246,7 @@ class Graph:
return node
def remove_node(self, node: Node) -> None:
- """Remove a node from the graphm and all edges connected to it."""
+ """Remove a node from the graph and all edges connected to it."""
self.nodes.pop(node.id)
self.edges = [
edge