fix(usage): merge case-insensitive trend model segments - #541
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 4 included reviews per hour; 1 remains after this review. 📝 WalkthroughWalkthroughThe dashboard now merges model usage entries by trimmed, case-insensitive names. It filters invalid values, preserves the highest-usage display spelling, sorts totals, and uses the merged results for model bar segments. Tests cover normalization and aggregation. ChangesModel Segment Normalization
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to This localized dashboard change merges equivalent model labels while preserving the highest-usage spelling and includes regression coverage; no actionable merge-blocking risk remains after normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 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 |
Summary
GPT-5.5/gpt-5.5and whitespace variantsVerification
This PR is scoped to the Usage Trend display and is independent of the Windows stability work in #540.
Summary by CodeRabbit