The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
core[patch]: add versionadded to `as_tool` (#24138)
ccurme122e80e04d14
diff --git a/libs/core/langchain_core/runnables/base.py b/libs/core/langchain_core/runnables/base.pyindex 80284d7b63..97138c79a4 100644--- a/libs/core/langchain_core/runnables/base.py+++ b/libs/core/langchain_core/runnables/base.py@@ -2073,6 +2073,8 @@ class Runnable(Generic[Input, Output], ABC):runnable = RunnableLambda(f) | gas_tool = runnable.as_tool()as_tool.invoke("b")++ .. versionadded:: 0.2.14"""# Avoid circular importfrom langchain_core.tools import convert_runnable_to_tool