mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-10 07:27:57 -05:00
fix(rce): always use VM over RCE for custom tools (#1233)
This commit is contained in:
@@ -585,6 +585,7 @@ export async function POST(req: NextRequest) {
|
||||
const useE2B =
|
||||
e2bEnabled &&
|
||||
!useLocalVM &&
|
||||
!isCustomTool &&
|
||||
(lang === CodeLanguage.JavaScript || lang === CodeLanguage.Python)
|
||||
|
||||
if (useE2B) {
|
||||
|
||||
Reference in New Issue
Block a user