mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-16 09:48:04 +00:00
Fix bug with using configurable_fields after configurable_alternatives (#18139)
Closes #17915
This commit is contained in:
parent
f5cf6975ba
commit
62a30efb12
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user