Skip to main content
Question

OpenAI: Stream feature blocked due to security?

  • May 26, 2023
  • 2 replies
  • 417 views

chriskuhrt

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
  • Author
  • New Member
  • June 2, 2023

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