api/agent_profile_set.py.dox.md
agent_profile_set.py API endpoint.agent_profile_set.py because this directory is intentionally flat.agent_profile_set.py owns the runtime implementation.agent_profile_set.py.dox.md owns durable notes about responsibilities, contracts, side effects, and verification for that implementation.SetAgentProfile (ApiHandler)
async process(self, input: dict, request: Request) -> dict | Response_agent_profile_labels() -> dict[str, str]helpers.api.ApiHandler; WebSocket handlers must derive from helpers.ws.WsHandler.SetAgentProfile is an ApiHandler.SetAgentProfile defines process(...).agent, helpers, helpers.api, helpers.persist_chat, helpers.state_monitor_integration.str.strip, context.is_running, _agent_profile_labels, initialize_agent, context.agent0.config, save_tmp_chat, mark_dirty_for_context, subagents.get_all_agents_list, Response.helpers.api.Response for non-JSON responses, files, redirects, or status-specific replies.tests/test_subagent_profiles.pyNo child DOX files.