langchain_core.beta.runnables.context
.config_with_context¶
- langchain_core.beta.runnables.context.config_with_context(config: RunnableConfig, steps: List[Runnable]) RunnableConfig [source]¶
Patch a runnable config with context getters and setters.
- Parameters
config (RunnableConfig) – The runnable config.
steps (List[Runnable]) – The runnable steps.
- Returns
The patched runnable config.
- Return type