Ratan1729/code-execution
1
1// ─── Executor Service Facade ────────────────────────2// Delegates to Docker or Process executor based on EXECUTION_MODE config3// This allows seamless switching between Docker (local/server) and Process (Hugging Face)4 5const config = require("../config");6 7let executor;8 9if (config.EXECUTION_MODE === "process") {10 executor = require("./process.executor");11} else {12 executor = require("./docker.executor");13}14 15module.exports = executor;16 