Skip to content

The agent engineering platform.

core: fix docstring (#24129)

Nuno Campos3e454d756828
diff --git a/libs/core/langchain_core/runnables/graph.py b/libs/core/langchain_core/runnables/graph.py
index e76a0a0f17..cfd798580e 100644
--- a/libs/core/langchain_core/runnables/graph.py
+++ b/libs/core/langchain_core/runnables/graph.py
@@ -136,8 +136,8 @@ def node_data_str(id: str, data: Union[Type[BaseModel], RunnableType]) -> str:
"""Convert the data of a node to a string.
Args:
- node: The node to convert.
- html: Whether to format the data as HTML rich text.
+ id: The node id.
+ data: The node data.
Returns:
A string representation of the data.