The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
Fix bug with using configurable_fields after configurable_alternatives (#18139)
Nuno Campos62a30efb1272
diff --git a/libs/core/langchain_core/runnables/configurable.py b/libs/core/langchain_core/runnables/configurable.pyindex ea4ed30e66..8339b1d12d 100644--- a/libs/core/langchain_core/runnables/configurable.py+++ b/libs/core/langchain_core/runnables/configurable.py@@ -441,6 +441,8 @@ class RunnableConfigurableAlternatives(DynamicRunnable[Input, Output]):which=self.which,default=self.default.configurable_fields(**kwargs),alternatives=self.alternatives,+ default_key=self.default_key,+ prefix_keys=self.prefix_keys,)def _prepare(