HF RL Explorer

We need to replace the current hardcoded 20-turn conversation history cap (via sliceToLastNTurns ) with a…

We need to replace the current hardcoded 20-turn conversation history cap (via sliceToLastNTurns ) with a…: a task in LegoFlow-SWE (Harbor dataset). Replace the fixed‑turn cap with a composable set of functions that dynamically manage conversation history. The new system must be exposed through a…

The task

Replace the fixed‑turn cap with a composable set of functions that dynamically manage conversation history. The new system must be exposed through a set of public functions that the rest of the codebase can use. The main entry point is an `assemble` function that accepts all necessary parameters and returns the final…

Part of Lego-X/LegoFlow-SWE.