From 75608e7cf4b35ceb087b8be341645d4c97505ce4 Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 18 May 2025 19:37:41 -0700 Subject: [PATCH] disable local assistants when using on prem deployment --- core/config/ConfigHandler.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/config/ConfigHandler.ts b/core/config/ConfigHandler.ts index ff3228287..deae7da38 100644 --- a/core/config/ConfigHandler.ts +++ b/core/config/ConfigHandler.ts @@ -270,6 +270,13 @@ export class ConfigHandler { /** * Users can define as many local assistants as they want in a `.continue/assistants` folder */ + + // Local customization disabled for on-premise deployments + const env = await getControlPlaneEnv(this.ide.getIdeSettings()); + if (env.AUTH_TYPE === AuthType.OnPrem) { + return []; + } + const localProfiles: ProfileLifecycleManager[] = []; if (options.includeGlobal) {