Skip to content

Commit b47fc59

Browse files
fix(core): fix type of Runnable.withConfig's argument (#8137)
2 parents 075ebbc + b7237cc commit b47fc59

File tree

1 file changed

+1
-1
lines changed
  • langchain-core/src/runnables

1 file changed

+1
-1
lines changed

langchain-core/src/runnables/base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ export abstract class Runnable<
187187
* @returns A new RunnableBinding with a config matching what's passed.
188188
*/
189189
withConfig(
190-
config: RunnableConfig
190+
config: Partial<CallOptions>
191191
): Runnable<RunInput, RunOutput, CallOptions> {
192192
// eslint-disable-next-line @typescript-eslint/no-use-before-define
193193
return new RunnableBinding({

0 commit comments

Comments
 (0)