Skip to main content
chriskuhrt
New Participant
May 26, 2023
Question

OpenAI: Stream feature blocked due to security?

  • May 26, 2023
  • 2 replies
  • 472 views

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?

This topic has been closed for replies.

2 replies

Gleb
Power Member
May 28, 2023

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.

chriskuhrt
New Participant
June 2, 2023

k, thx for the rply! will look into it! 🙂