HF RL Explorer

Concurrent tool calls share mutated request state, leading to wrong parameters

Concurrent tool calls share mutated request state, leading to wrong parameters: a task in LegoFlow-SWE (Harbor dataset). When an assistant action with authentication is invoked multiple times concurrently (e.g., the assistant calls the same tool with different inputs in parallel), all API calls…

The task

When an assistant action with authentication is invoked multiple times concurrently (e.g., the assistant calls the same tool with different inputs in parallel), all API calls end up using the same parameters — specifically the last value that was set — instead of each call using its own distinct parameters.

Part of Lego-X/LegoFlow-SWE.