chore: skip agent manager if flag is false

This commit is contained in:
Nicolas Meienberger 2026-04-09 21:27:41 +02:00
parent a85f00171d
commit 8374bc0496
No known key found for this signature in database

View file

@ -8,8 +8,10 @@ let bootstrapPromise: Promise<void> | undefined;
const runBootstrap = async () => {
await runDbMigrations();
await runMigrations();
await agentManager.start();
await spawnLocalAgent();
if (process.env.ENABLE_LOCAL_AGENT === "true") {
await agentManager.start();
await spawnLocalAgent();
}
await startup();
};