fix(LangChain Code Node): Fix execution of custom n8n tools called via LC code node (#9265)

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: Michael Kret <michael.k@radency.com>
This commit is contained in:
oleg 2024-04-30 16:06:44 +02:00 committed by GitHub
parent 426a12ac0e
commit 741e8299d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -90,6 +90,8 @@ function getSandbox(
// eslint-disable-next-line @typescript-eslint/unbound-method
context.getNodeOutputs = this.getNodeOutputs;
// eslint-disable-next-line @typescript-eslint/unbound-method
context.executeWorkflow = this.executeWorkflow;
// eslint-disable-next-line @typescript-eslint/unbound-method
context.logger = this.logger;
if (options?.addItems) {