#halt

1 messages · Page 1 of 1 (latest)

pastel urchin
#

Is it possible to freeze a assitant tool run, then check aomething and then resume the run??

astral ploverBOT
#

Hi @pastel urchin. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Based on the information provided in the knowledge sources, it does not appear that there is a direct way to freeze or pause a run, check something, and then resume the run.

Once a run is initiated, it continues until it completes or expires. If a run is waiting for tool_output, it takes 10 minutes before it expires. During this time, it is not possible to initiate another run in the same thread (source (https://community.openai.com/t/650519)).

There is a mention of editing expired Step objects in a Run so that execution can continue from the position of failure in the last Run, but this seems to be a question rather than a confirmed feature (source (https://community.openai.com/t/601253)).

There is also a method to cancel a run, but this does not pause the run, it ends it (source (https://platform.openai.com/docs/api-reference)).

If you need to check something during a run, you might need to design your run or function in such a way that the checking is part of the run itself. If you need to manually check something, you might need to wait for the run to complete or expire, or cancel the run, before you can initiate a new run.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: