Szekeres GézaS
BuildShip2y ago
3 replies
Szekeres Géza

Return from a Repeat

Hi!
I have a problem with the return function.. I'm pulling statuses from an openAI run, and I've used the repeat function with 240 repeats to check it. Each cycle has 1s of sleep, but even if I fire the Return function (let's say at the 20th check), the repeat keeps on going till 240.. Maybe its the async request for az OpenAI API?

So strange.. Do you have any ideas? Is there any way to have while function instead of the basic numeric repeater?

Thanks in advance!
image.png
Was this page helpful?