Skip to content

Commit

Permalink
Intercom: Remove feature flag (#3984)
Browse files Browse the repository at this point in the history
  • Loading branch information
PopDaph authored Feb 27, 2024
1 parent d6d7b28 commit 5361c3e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
7 changes: 0 additions & 7 deletions front/lib/api/assistant/global_agents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -900,13 +900,6 @@ export async function getGlobalAgents(

let agentsIdsToFetch = Object.values(agentIds ?? GLOBAL_AGENTS_SID);

// Intercom flag.
if (!owner.flags.includes("intercom_connection")) {
agentsIdsToFetch = agentsIdsToFetch.filter(
(agentId) => agentId !== GLOBAL_AGENTS_SID.INTERCOM
);
}

// Mistral-next flag.
if (!owner.flags.includes("mistral_next")) {
agentsIdsToFetch = agentsIdsToFetch.filter(
Expand Down
3 changes: 1 addition & 2 deletions front/lib/connector_providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ export const CONNECTOR_CONFIGURATIONS: Record<
intercom: {
name: "Intercom",
connectorProvider: "intercom",
status: "rolling_out",
rollingOutFlag: "intercom_connection",
status: "built",
hide: false,
description:
"Authorize granular access to your Intercom workspace. Access your Conversations at the Team level and Help Center Articles at the main Collection level.",
Expand Down
1 change: 0 additions & 1 deletion types/src/front/feature_flags.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
export const WHITELISTABLE_FEATURES = [
"auto_pre_ingest_all_databases",
"intercom_connection",
"mistral_next",
"structured_data",
"workspace_analytics",
Expand Down

0 comments on commit 5361c3e

Please sign in to comment.