mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
- _get_agent_settings resolves ALL settings (model, critic endpoint) - _create_agent just calls settings.create_agent() + runtime overrides - Eliminated _get_default_critic, _apply_critic_proxy, _CRITIC_PROXY_PATTERN - Removed legacy path (agent_settings is always present) - Replaced mock-heavy tests with real-object assertions (-200 lines) Co-authored-by: openhands <openhands@all-hands.dev>