Create extension development, call openai in content and background respectively or use native fetch to make streaming requests. Content is ok, background is normal at first, but when the stream content is a little more, background will be pending and unable to obtain data.
extension dev: background fetch a stream http request
same issue in openai community: https://community.openai.com/t/streaming-not-working-on-safari/724956