mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-05 13:06:03 +00:00
Add comment
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user