Skip to content

The agent engineering platform.

docs(core): add missing `name` docstring for `RunnableSerializable` (#35088)

Mason Daughertyf0a808d969f3
diff --git a/libs/core/langchain_core/runnables/base.py b/libs/core/langchain_core/runnables/base.py
index 5e8c65f897..29a7d8ed73 100644
--- a/libs/core/langchain_core/runnables/base.py
+++ b/libs/core/langchain_core/runnables/base.py
@@ -2587,6 +2587,10 @@ class RunnableSerializable(Serializable, Runnable[Input, Output]):
"""Runnable that can be serialized to JSON."""
name: str | None = None
+ """The name of the `Runnable`.
+
+ Used for debugging and tracing.
+ """
model_config = ConfigDict(
# Suppress warnings from pydantic protected namespaces