The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
pipe default key (#11788)
Harrison Chasef3ad22e64ac0
diff --git a/libs/langchain/langchain/schema/runnable/base.py b/libs/langchain/langchain/schema/runnable/base.pyindex afce1201e1..51365bd0e1 100644--- a/libs/langchain/langchain/schema/runnable/base.py+++ b/libs/langchain/langchain/schema/runnable/base.py@@ -992,6 +992,7 @@ class RunnableSerializable(Serializable, Runnable[Input, Output]):def configurable_alternatives(self,which: ConfigurableField,+ default_key: str = "default",**kwargs: Runnable[Input, Output],) -> RunnableSerializable[Input, Output]:from langchain.schema.runnable.configurable import (@@ -999,7 +1000,7 @@ class RunnableSerializable(Serializable, Runnable[Input, Output]):)return RunnableConfigurableAlternatives(- which=which, default=self, alternatives=kwargs+ which=which, default=self, alternatives=kwargs, default_key=default_key)