Crash when streaming event with non-UTF-8 data
Crash when streaming event with non-UTF-8 data: a task in swe-rebench-v2.1-rl-isolated-1k: SWE-rebench V2.1 RL, isolated grading (1k subset) (Harbor dataset). What you expected to happen : If there's invalid data in an event, it should at least be possible to discard that data or event and…
The task
**What you expected to happen**: If there's invalid data in an event, it should at least be _possible_ to discard that data or event and continue. I'm not sure what the default behavior should be; it's possible that something which is currently `str` should be `bytes`, or that we should use the unicode replacement…