HF RL Explorer

format invocation() breaks when kwargs is not a dict

format invocation() breaks when kwargs is not a dict: a task in harbor-swesmith-rl-artifacts: Harbor SWE-Smith 强化学习数据产物 (Harbor dataset). When calling format invocation() with kwargs that is not a dictionary, it fails with a ValueError. The function should handle both dictionary and non-dictionary…

The task

When calling format_invocation() with kwargs that is not a dictionary, it fails with a ValueError. The function should handle both dictionary and non-dictionary kwargs correctly.

Part of keryszhan/harbor-swesmith-rl-artifacts.