buildspace / buildspace-projects

The home of our open-source projects.
https://buildspace.so/projects
Creative Commons Attribution Share Alike 4.0 International
3.01k stars 1.09k forks source link

Update Lesson_2_Add_in_OpenAI_API.md #1645

Closed koushikVss closed 1 year ago

koushikVss commented 1 year ago

While the prompt is submitted and output is being generated, the "callgeneratedEndpoint" on button Click is still active to make another request on clicking the pinning loader. So we put that onClick event listener in a condition to prevent it from making othe request to api.

koushikVss commented 1 year ago

Please fix this

koushikVss commented 1 year ago

While the prompt is submitted and output is being generated, the "callgeneratedEndpoint" on button Click is still active to make another request on clicking the pinning loader. So we put that onClick event listener in a condition to prevent it from making othe request to api.