HF RL Explorer

ReActAgent crashes with IllegalStateException when tool execution fails or times out

ReActAgent crashes with IllegalStateException when tool execution fails or times out: a task in LegoFlow-SWE (Harbor dataset). Description When the ReActAgent uses tool calls and the toolkit’s callTools() method fails (e.g., due to a timeout, an exception, or any interruption), the agent enters a…

The task

**Description** When the ReActAgent uses tool calls and the toolkit’s `callTools()` method fails (e.g., due to a timeout, an exception, or any interruption), the agent enters a state where pending tool call IDs are tracked internally but no corresponding `ToolResultBlock` objects exist. Any subsequent attempt to…

Part of Lego-X/LegoFlow-SWE.