Anyone working with OpenAI APIs should be familiar with the new Assistants API and Endpoints
Assistants
Threads
Messages
Runs
Even though we already have a “Message an Assistants” module, it’s missing function calling.
To achieve this we need to use those endpoints to chat with assistants.
However, something common that occurs in this flow is the need to check whether the Thread is complete. For this, a Do-While Loop module would be important to be able to perform an effective call with OpenAI.
I’ve had the need for this function at different times, something that Make should act on.
Example of use:
Do such action until such condition (within these actions) is met then continue the flow.
Theoretically, this would basically be what was shown in the image.
But how is your repeater configured? I imagine it will run X times and this X is not dynamic. So it will repeat X times, even if the status is what you want.
The problem is that today the repeater does not accept parameters from modules that are after it (in the loop). The ideal scenario would be:
If the function status is “Z”, it should stop running, that’s what I mean by While-loop.
The solution I’m using is to create a “commit” route. Works fine, but not elegant.