REQUIRED_ACTION

When using the Tool.FunctionTool, the Run will move to a REQUIRED_ACTION state once the model determines the names and arguments of the functions to be called. You must then run those functions and submit the outputs using RunHandler.submitToolOutputs before the run proceeds. If the outputs are not provided before the Run.expiresAt timestamp passes (roughly 10 minutes past creation), the run will move to an EXPIRED status.

Properties

Link copied to clipboard

Whether the OpenAI API is "done," and expecting you to take some action.

Link copied to clipboard
Link copied to clipboard