diff --git a/langchain-core/src/runnables/remote.ts b/langchain-core/src/runnables/remote.ts index 17df845b7472..1ee79849f8a4 100644 --- a/langchain-core/src/runnables/remote.ts +++ b/langchain-core/src/runnables/remote.ts @@ -282,7 +282,7 @@ export class RemoteRunnable< private options?: RemoteRunnableOptions; // eslint-disable-next-line @typescript-eslint/no-explicit-any - fetchImplementation: (...args: any[]) => any = fetch; + fetchImplementation: (...args: any[]) => any = (args) => fetch(args); // eslint-disable-next-line @typescript-eslint/no-explicit-any fetchRequestOptions?: Record;