fix(rce): always use VM over RCE for custom tools (#1233)

This commit is contained in:
Waleed
2025-09-03 08:16:50 -07:00
committed by GitHub
parent 36c98d18e9
commit 11d8188415

View File

@@ -585,6 +585,7 @@ export async function POST(req: NextRequest) {
const useE2B =
e2bEnabled &&
!useLocalVM &&
!isCustomTool &&
(lang === CodeLanguage.JavaScript || lang === CodeLanguage.Python)
if (useE2B) {