Chore/changed vm2 to @flowiseai/nodevm (#3200)

* changed vm2 to @flowiseai/nodevm

* update set-value and lunary version
This commit is contained in:
Henry Heng
2024-09-17 01:57:02 +01:00
committed by GitHub
parent 1ceea81100
commit 7a4c7efcab
11 changed files with 43 additions and 3340 deletions
@@ -1,6 +1,6 @@
import { DataSource } from 'typeorm'
import { z } from 'zod'
import { NodeVM } from 'vm2'
import { NodeVM } from '@flowiseai/nodevm'
import { RunnableConfig } from '@langchain/core/runnables'
import { CallbackManagerForToolRun, Callbacks, CallbackManager, parseCallbackConfigArg } from '@langchain/core/callbacks/manager'
import { StructuredTool } from '@langchain/core/tools'