diff --git a/libs/core/langchain_core/runnables/configurable.py b/libs/core/langchain_core/runnables/configurable.py index 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(