HF RL Explorer

Issue: Support io.Reader as a handler return type for streaming responses

Issue: Support io.Reader as a handler return type for streaming responses: a task in LegoFlow-SWE (Harbor dataset). The AWS Lambda Go runtime ( lambda.Start / lambda.NewHandler ) currently rejects handler functions that return io.Reader as the response type. For example:

The task

The AWS Lambda Go runtime (`lambda.Start` / `lambda.NewHandler`) currently rejects handler functions that return `io.Reader` as the response type. For example:

Part of Lego-X/LegoFlow-SWE.