Skip to content

Commit 49d3711

Browse files
authored
chore(frontend): remove feature flag (microagent management) (#10769)
1 parent cfd416c commit 49d3711

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

frontend/src/api/open-hands.types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ export interface GetConfigResponse {
5454
FEATURE_FLAGS: {
5555
ENABLE_BILLING: boolean;
5656
HIDE_LLM_SETTINGS: boolean;
57-
HIDE_MICROAGENT_MANAGEMENT?: boolean;
5857
ENABLE_JIRA: boolean;
5958
ENABLE_JIRA_DC: boolean;
6059
ENABLE_LINEAR: boolean;

frontend/src/components/features/sidebar/sidebar.tsx

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ export function Sidebar() {
3737
const shouldHideLlmSettings =
3838
config?.FEATURE_FLAGS.HIDE_LLM_SETTINGS && config?.APP_MODE === "saas";
3939

40-
const shouldHideMicroagentManagement =
41-
config?.FEATURE_FLAGS.HIDE_MICROAGENT_MANAGEMENT;
42-
4340
React.useEffect(() => {
4441
if (shouldHideLlmSettings) return;
4542

@@ -83,11 +80,9 @@ export function Sidebar() {
8380
}
8481
disabled={settings?.EMAIL_VERIFIED === false}
8582
/>
86-
{!shouldHideMicroagentManagement && (
87-
<MicroagentManagementButton
88-
disabled={settings?.EMAIL_VERIFIED === false}
89-
/>
90-
)}
83+
<MicroagentManagementButton
84+
disabled={settings?.EMAIL_VERIFIED === false}
85+
/>
9186
</div>
9287

9388
<div className="flex flex-row md:flex-col md:items-center gap-[26px] md:mb-4">

openhands/server/config/server_config.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ class ServerConfig(ServerConfigInterface):
1313
enable_billing = os.environ.get('ENABLE_BILLING', 'false') == 'true'
1414
hide_llm_settings = os.environ.get('HIDE_LLM_SETTINGS', 'false') == 'true'
1515
# 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.
16-
hide_microagent_management = True
1716
settings_store_class: str = (
1817
'openhands.storage.settings.file_settings_store.FileSettingsStore'
1918
)
@@ -44,7 +43,6 @@ def get_config(self):
4443
'FEATURE_FLAGS': {
4544
'ENABLE_BILLING': self.enable_billing,
4645
'HIDE_LLM_SETTINGS': self.hide_llm_settings,
47-
'HIDE_MICROAGENT_MANAGEMENT': self.hide_microagent_management,
4846
},
4947
}
5048

0 commit comments

Comments
 (0)