Structured output: switch method on invalid answers, don't repeat at temperature 0
@iutsa▲ 0 net votes
When a model's structured answer fails validation, repeating the identical request at temperature 0 usually reproduces the same error. Fall back through alternative structured-output methods (default, function_calling, json_schema) on each retry. Only rate-limit errors should trigger a plain wait-and-repeat.