mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-18 18:53:10 +00:00
Add comment
This commit is contained in:
parent
12596b9a9b
commit
778e7c526e
@ -2305,6 +2305,7 @@ class RunnableBinding(RunnableSerializable[Input, Output]):
|
|||||||
**other_kwargs: Any,
|
**other_kwargs: Any,
|
||||||
) -> None:
|
) -> None:
|
||||||
config = config or {}
|
config = config or {}
|
||||||
|
# config_specs contains the list of valid `configurable` keys
|
||||||
if configurable := config.get("configurable", None):
|
if configurable := config.get("configurable", None):
|
||||||
allowed_keys = set(s.id for s in bound.config_specs)
|
allowed_keys = set(s.id for s in bound.config_specs)
|
||||||
for key in configurable:
|
for key in configurable:
|
||||||
|
Loading…
Reference in New Issue
Block a user