When the work flow, open the json_object mode, the result is still an occasional rollover: sometimes finish_reason is obviously stop, the return content is a string of pure blank, or max_tokens to close directly from the middle.
Now my safe practice is to break down the resolution into four levels: the request is successful, non-empty white blank, syntax can be parsed, field type and business scope verification. Sensitive actions such as order, refund, and permission modification, even if JSON is legal only as a candidate, the amount and attribution must go to the service check.
In addition, when encountering a truncated retry, remember to bring the original business request ID to the original, and make a repeat re-offover. Do your error logs remember "pure blank", "JSON syntax bad" and "field across the bound"?