Skip to content

Commit

Permalink
feat: add feature flag for Custom Engine Agent(CEA) templates (#12510)
Browse files Browse the repository at this point in the history
* feat: add feature flag for Custom Engine Agent(CEA) templates

* refactor: remove consume logic in generator
  • Loading branch information
frankqianms authored Oct 11, 2024
1 parent a3f85d3 commit e107e78
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/fx-core/src/common/featureFlags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export class FeatureFlagName {
static readonly EnvFileFunc = "TEAMSFX_ENV_FILE_FUNC";
static readonly KiotaIntegration = "TEAMSFX_KIOTA_INTEGRATION";
static readonly ApiPluginAAD = "TEAMSFX_API_PLUGIN_AAD";
static readonly CEAEnabled = "TEAMSFX_CEA_ENABLED";
}

export interface FeatureFlag {
Expand Down Expand Up @@ -104,6 +105,10 @@ export class FeatureFlags {
name: FeatureFlagName.ApiPluginAAD,
defaultValue: "false",
};
static readonly CEAEnabled = {
name: FeatureFlagName.CEAEnabled,
defaultValue: "false",
};
}

export function isCopilotExtensionEnabled(): boolean {
Expand Down

0 comments on commit e107e78

Please sign in to comment.