Repository navigation
fix: resolve provider aliases for extractor models - #19824
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthrough
ChangesDriver lookup
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to The driver lookup now supports configured provider names that differ from runtime driver names, including the tested Zhipu case. No actionable merge risk remains. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
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. A rabbit checks the driver trail Comment |
What problem does this PR solve?
Fix Extractor model resolution for providers whose configured provider name differs from the runtime driver name, such as
ZHIPU-AIandzhipu.GetPreconfiguredDrivernow falls back to matching the registered driver name, allowing models such asglm-4-flashto be used for automatic question and keyword extraction.Type of change