include_quality: true to get a heuristic confidence score (0–1) with every response. Combine with min_quality to automatically retry with a better model when the score is too low.
Get a quality score
Auto-retry on low quality
Setmin_quality to a threshold. If the response scores below it, the system automatically retries with a higher-quality model.