HF RL Explorer

Need a way to return a raw (non-serialized) response from a REST endpoint without using streaming

Need a way to return a raw (non-serialized) response from a REST endpoint without using streaming: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). Currently any value returned from a REST handler goes through createResponse , which serializes it as JSON (or HTML if…

The task

Currently any value returned from a REST handler goes through `_createResponse`, which serializes it as JSON (or HTML if the client asks for it via Accept). That's fine for the normal case, but it means there's no way to return a response that should be sent through verbatim — for example, a handler that produces a…

Part of FineEnvs/MiMo-V2.6-RL-harbor-code.