HF RL Explorer

Coroutine passed to the first middleware's process response() instead of HttpResponse. Description

Coroutine passed to the first middleware's process response() instead of HttpResponse. Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). Like the title says, using ASGI (+ uvicorn in my case), the first middleware (according to the list in settings.py) receives a coroutine as its…

The task

Like the title says, using ASGI (+ uvicorn in my case), the first middleware (according to the list in settings.py) receives a coroutine as its response parameter, while all other middlewares down the line receive a django.http.response.HttpResponse object. This seems to have caused an issue in the…

Part of Lego-X/Lego-RL-SWE-Bench-Verified.