Repository navigation
feat(settings): add the personal Agent Context page behind a feature flag (OHE-3745) - #754
Merged
Merged
Conversation
Merged
2 of 6 tasks
Contributor
…files pages (OHE-3744) Two env-backed web-client feature flags, both default off: - enable_agent_context_page (ENABLE_AGENT_CONTEXT_PAGE) shows the dedicated Agent Context settings page. - enable_agent_profiles_page (ENABLE_AGENT_PROFILES_PAGE) replaces the personal Agent page with Agent Profiles, and implies the Agent Context page since the Agent page hosted the memory toggle. isSettingsPageHidden hides /settings/agent-context and /settings/agents unless the matching flag is on, so the nav item and the route redirect share one rule. No visible change while both flags are off.
…flag (OHE-3745) Moves the "Enable Persistent Memory" toggle out of Settings > Agent into its own Personal Settings item, /settings/agent-context (SaaS only), shown when enable_agent_context_page (or enable_agent_profiles_page) is on. The page saves enable_memory_context through the existing settings endpoint. With the flag on, the Agent page no longer renders the inline section; with it off, the Agent page is unchanged. The item is OpenHands-only (disabledByAcp), as the inline section was.
hieptl
force-pushed
the
hieptl/ohe-3456-agent-context-page
branch
from
October 24, 2026 08:38
57f5308 to
4181692
Compare
Merged
2 of 6 tasks
hieptl
changed the base branch from
main
to
hiep/ohe-3744-agent-profiles-feature-flags-for-the-agent-context-and-agent
October 24, 2026 08:41
2 of 6 tasks
hieptl
marked this pull request as ready for review
October 26, 2026 15:53
Base automatically changed from
hiep/ohe-3744-agent-profiles-feature-flags-for-the-agent-context-and-agent
to
main
October 27, 2026 11:19
4 of 6 tasks
hieptl
added a commit
that referenced
this pull request
Oct 27, 2026
Resolve the conflicts with main after #753, #1007 and #754 were squash-merged: - routes.ts, routes/settings.tsx: keep main's text and re-add the /settings/agents route and SAAS_ONLY_PATHS entry. - i18n/translation.json: main's file plus the 32 keys only this branch adds; declaration.ts regenerated with make-i18n. - constants/settings-nav.tsx: drop the Agent Context item the auto-merge duplicated, keeping main's copy after the new Agent Profiles item.
hieptl
added a commit
that referenced
this pull request
Oct 27, 2026
…storage-api-and Resolves the conflicts with the merged Agent Profiles work (#753, #754, #755, #763, #1007, #1010, #1011) by keeping both sides: both feature flags and their nav-hiding rules, both LLM-profile delete guards and rename cascades in org_profiles, and the Model Router launch hydration after main's SDK-based Agent Profile resolution in saas_settings_store. The user-menu test keeps the isSettingsPageHidden filter, which covers main's hard-coded agent-page set as well as the Model Router page. Semantic follow-ups: re-add the resolve_profile_llm import main dropped from saas_settings_store (the router hydration still uses it), and renumber the Model Router migration from 199 to 201 chaining off main's 200 (main now holds 199 and 200), and move the alembic head pinned by main's agent-profile upgrade test from 200 to 201 accordingly.
Contributor
|
🚀 Released in 1.81.0. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
HUMAN:
AGENT:
Why
The personal Agent page carries an "Agent Context" section with the Enable Persistent Memory toggle. With agent behaviour moving to Agent Profiles (OHE-3456), that toggle needs a home of its own, matching the dedicated Agent Context section in Agent Canvas, which is unreachable inside OHE.
Summary
/settings/agent-contextwith the Enable Persistent Memory switch and a Save button; it savesenable_memory_contextthrough the existing settings endpoint, as the Agent page did.enable_agent_context_page(orenable_agent_profiles_page) is on; it is OpenHands-only (disabledByAcp) like the inline section it replaces.Issue Number
OHE-3745, part of OHE-3456. Stacked on #1007 (the flags).
How to Test
From
frontend/:All pass locally. Manually, on SaaS or OHE with
OH_WEB_CLIENT_FEATURE_FLAGS_ENABLE_AGENT_CONTEXT_PAGE=true:/settings/agent-contextredirects away, and the Agent page shows the toggle as before.Video/Screenshots
To be added after manual testing.
Type
Notes
Enterprise server image for this PR: