OpenAI: Stream feature blocked due to security?

I’ve been experimenting with OpenAI and it appears that the Figma API doesn’t support it. I’ve observed similar issues with other plugins as well, necessitating a 5-20 second delay before receiving any feedback or response.

Implementing a stream would lead to a better/faster user experience, similar to what we know from ChatGPT.

Are there plans to perhaps change this in the future?

1 Like

Technologies like SSE and websockets work fine in the Figma plugin iframe without any limitations other than the null origin header for requests. If you are getting a response but with a delay it’s unlikely a Figma issue given the proper configuration.

1 Like

k, thx for the rply! will look into it! :slight_smile: