The reason why the call stopped, can be one of: - stop - The model hit a natural stop point or a provided stop sequence. - length - The maximum number of tokens specified in the request was reached. - tool_calls - The model called a tool. - time_limit`` - Time limit reached. - cancelled - Request canceled by the client. - `error - Error encountered. - null - API response still in progress or incomplete.

Enumeration Members

CANCELLED: "cancelled"
ERROR: "error"
LENGTH: "length"
STOP: "stop"
TIME_LIMIT: "time_limit"
TOOL_CALLS: "tool_calls"