Repository navigation
fix(azureopenai): raise reasoning-model probe budget - #525
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughThe Azure OpenAI validation request now allocates 16 tokens instead of 1. Tests cover both API-version branches and successful responses containing only a ChangesAzure OpenAI validation
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix · Severity of issue fixed: Medium Merge Risk: ⚪ Minimal · up to The probe uses the intended positive budget while preserving model-identity parsing, with no identified merge-blocking risk. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Thermo-nuclear code-quality reviewScope: PR #525, head Receipt: No high-confidence finding. The one-file provider-local diff raises both existing validation budgets from 1 to 16 and adds focused coverage for both request shapes and model-only responses. It introduces no new branching, abstraction boundary, duplicate helper, or file-size regression. |
bc8be96 to
82f3fd6
Compare
Problem
Azure OpenAI reasoning models reject the liveness probe when it sends max_completion_tokens=1 (or legacy max_tokens=1) with HTTP 400, even though a small positive budget succeeds.
Fix
Raise the probe budget to 16 for both request formats. The probe remains liveness-only and continues to parse only the returned model identity.
Validation
Fixes #524
Summary by CodeRabbit