π OpenHands: AI-Driven Development
chore(frontend): remove feature flag (microagent management) (#10769)
Hiep Le49d37119a9e9
diff --git a/frontend/src/api/open-hands.types.ts b/frontend/src/api/open-hands.types.tsindex 9621594e91..0b06943107 100644--- a/frontend/src/api/open-hands.types.ts+++ b/frontend/src/api/open-hands.types.ts@@ -54,7 +54,6 @@ export interface GetConfigResponse {FEATURE_FLAGS: {ENABLE_BILLING: boolean;HIDE_LLM_SETTINGS: boolean;- HIDE_MICROAGENT_MANAGEMENT?: boolean;ENABLE_JIRA: boolean;ENABLE_JIRA_DC: boolean;ENABLE_LINEAR: boolean;diff --git a/frontend/src/components/features/sidebar/sidebar.tsx b/frontend/src/components/features/sidebar/sidebar.tsxindex 989bb2f2d7..daa3523c1a 100644--- a/frontend/src/components/features/sidebar/sidebar.tsx+++ b/frontend/src/components/features/sidebar/sidebar.tsx@@ -37,9 +37,6 @@ export function Sidebar() {const shouldHideLlmSettings =config?.FEATURE_FLAGS.HIDE_LLM_SETTINGS && config?.APP_MODE === "saas";- const shouldHideMicroagentManagement =- config?.FEATURE_FLAGS.HIDE_MICROAGENT_MANAGEMENT;-React.useEffect(() => {if (shouldHideLlmSettings) return;@@ -83,11 +80,9 @@ export function Sidebar() {}disabled={settings?.EMAIL_VERIFIED === false}/>- {!shouldHideMicroagentManagement && (- <MicroagentManagementButton- disabled={settings?.EMAIL_VERIFIED === false}- />- )}+ <MicroagentManagementButton+ disabled={settings?.EMAIL_VERIFIED === false}+ /></div><div className="flex flex-row md:flex-col md:items-center gap-[26px] md:mb-4">diff --git a/openhands/server/config/server_config.py b/openhands/server/config/server_config.pyindex 0e566d8c98..e471ff8951 100644--- a/openhands/server/config/server_config.py+++ b/openhands/server/config/server_config.py@@ -13,7 +13,6 @@ class ServerConfig(ServerConfigInterface):enable_billing = os.environ.get('ENABLE_BILLING', 'false') == 'true'hide_llm_settings = os.environ.get('HIDE_LLM_SETTINGS', 'false') == 'true'# This config is used to hide the microagent management page from the users for now. We will remove this once we release the new microagent management page.- hide_microagent_management = Truesettings_store_class: str = ('openhands.storage.settings.file_settings_store.FileSettingsStore')@@ -44,7 +43,6 @@ class ServerConfig(ServerConfigInterface):'FEATURE_FLAGS': {'ENABLE_BILLING': self.enable_billing,'HIDE_LLM_SETTINGS': self.hide_llm_settings,- 'HIDE_MICROAGENT_MANAGEMENT': self.hide_microagent_management,},}