Skip to content

Commit

Permalink
Fix bug with using configurable_fields after configurable_alternatives (
Browse files Browse the repository at this point in the history
  • Loading branch information
nfcampos authored and gkorland committed Mar 30, 2024
1 parent 6dc7296 commit 2a06b02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/core/langchain_core/runnables/configurable.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,8 @@ def configurable_fields(
which=self.which,
default=self.default.configurable_fields(**kwargs),
alternatives=self.alternatives,
default_key=self.default_key,
prefix_keys=self.prefix_keys,
)

def _prepare(
Expand Down

0 comments on commit 2a06b02

Please sign in to comment.