Skip to content

coerceDeploymentProfile

coerceDeploymentProfile(raw, fallback?): DeploymentProfile

Defined in: profile.ts:83

Coerce a raw environment value into a DeploymentProfile.

Returns the provided default (or DeploymentProfile.STANDARD) when the input is missing; throws when the input is present but invalid.

Legacy values from the three-profile ladder are handled explicitly: enterprise maps to standard (same capabilities minus the retired Redis/Qdrant services) so existing deployments keep booting; memory was removed and fails with guidance.

unknown

DeploymentProfile = DeploymentProfile.STANDARD

DeploymentProfile