Supabase Edge Function streaming response get gradually deteriorates

I set up an Edge Function to receive streaming responses. It works, but the response deteriorates over time.

I carefully followed the tutorial in the documentation, as well as the video tutorial, but the response I get gradually deteriorates until it becomes:

As a non-dev, I asked to different AI what’s going on: **“The OpenAI data stream is corrupted while it is being read and retransmitted by the Edge Function.”
**
In 6 month, I haven’t been fortunate enough to receive any concrete assistance from support. I truly hope the community can provide some guidance to help me resolve this issue :folded_hands::folded_hands::folded_hands:

Hi Yann :waving_hand:

This is such a weird issue.

You could try recording a video showcasing your project, that way the community might have a better chance at understanding what’s going on :thinking: