langchain.js
Preparing search index...
@langchain/core
runnables
patchConfig
Function patchConfig
patchConfig
<
CallOptions
extends
RunnableConfig
<
Record
<
string
,
any
>
>
>
(
config
?:
Partial
<
CallOptions
>
,
__namedParameters
?:
RunnableConfig
,
)
:
Partial
<
CallOptions
>
Helper function that patches runnable configs with updated properties.
Type Parameters
CallOptions
extends
RunnableConfig
<
Record
<
string
,
any
>
>
Parameters
config
:
Partial
<
CallOptions
>
= {}
__namedParameters
:
RunnableConfig
= {}
Returns
Partial
<
CallOptions
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
langchain.js
Loading...
Helper function that patches runnable configs with updated properties.