Skip to main content
Question

OpenAI: Stream feature blocked due to security?


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
  • 4708 replies
  • 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
  • 10 replies
  • June 2, 2023

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings