HF RL Explorer

Bug: AgentState fails to initialize when state field is empty or None

Bug: AgentState fails to initialize when state field is empty or None: a task in LegoFlow-SWE (Harbor dataset). When creating a new agent (e.g., via memgpt run after memgpt quickstart ), the agent crashes with an AttributeError: 'NoneType' object has no attribute 'name' . This occurs because the…

The task

When creating a new agent (e.g., via `memgpt run` after `memgpt quickstart`), the agent crashes with an `AttributeError: 'NoneType' object has no attribute 'name'`. This occurs because the internal process that creates agents from presets cannot find the preset, which leads to a `None` value being used where a valid…

Part of Lego-X/LegoFlow-SWE.