Files
OpenHands/__tests__/api
a4534c15f4 feat: add agent delegation settings page (#483)
* feat: add agent delegation settings page

Migrate sub-agent delegation UI from OpenHands/OpenHands#14418.

- Add Settings > Agent page with an Enable sub-agents toggle backed by
  agent_settings_diff
- Add /settings/agent route and Agent nav item with robot icon
- Add enable_sub_agents field to mock agent settings schema (general
  section) and default settings
- Add SCHEMA$ENABLE_SUB_AGENTS$DESCRIPTION and
  SCHEMA$ENABLE_SUB_AGENTS$LABEL i18n translations for all supported
  languages
- Add enable_sub_agents: false to DEFAULT_SETTINGS agent_settings

Co-authored-by: openhands <openhands@all-hands.dev>

* docs: update AGENTS.md with agent delegation settings context

Co-authored-by: openhands <openhands@all-hands.dev>

* refactor: align agent delegation settings page with repo conventions

* fix(agent-tools): gate task_tool_set on enable_sub_agents setting

* chore: change icon

---------

Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Vasco Schiavo <115561717+VascoSch92@users.noreply.github.com>
Co-authored-by: VascoSch92 <vasco.schiavo@protonmail.com>
2026-05-19 21:39:38 +00:00
..