disable local assistants when using on prem deployment

This commit is contained in:
Nate 2025-05-18 19:37:41 -07:00
parent 8f0978a5e1
commit 75608e7cf4

View file

@ -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) {