mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
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:
parent
426a12ac0e
commit
741e8299d6
|
@ -90,6 +90,8 @@ function getSandbox(
|
||||||
// eslint-disable-next-line @typescript-eslint/unbound-method
|
// eslint-disable-next-line @typescript-eslint/unbound-method
|
||||||
context.getNodeOutputs = this.getNodeOutputs;
|
context.getNodeOutputs = this.getNodeOutputs;
|
||||||
// eslint-disable-next-line @typescript-eslint/unbound-method
|
// eslint-disable-next-line @typescript-eslint/unbound-method
|
||||||
|
context.executeWorkflow = this.executeWorkflow;
|
||||||
|
// eslint-disable-next-line @typescript-eslint/unbound-method
|
||||||
context.logger = this.logger;
|
context.logger = this.logger;
|
||||||
|
|
||||||
if (options?.addItems) {
|
if (options?.addItems) {
|
||||||
|
|
Loading…
Reference in a new issue