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 – The runnable config.

  • steps – The runnable steps.

Returns

The patched runnable config.