diff --git a/libs/core/langchain_core/runnables/base.py b/libs/core/langchain_core/runnables/base.py index 5e8c65f8972..29a7d8ed731 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