fix(web): match MCP language models by provider and model#1230
fix(web): match MCP language models by provider and model#1230RitwijParmar wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
WalkthroughThis PR introduces a new utility ChangesLanguage Model Identity Comparison
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related issues
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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
Why
MCP clients can call ask_codebase with the externally documented provider/model fields. If the configured model has a displayName, comparing with getLanguageModelKey includes displayName and rejects an otherwise valid request.
Test
Summary by CodeRabbit
Refactor
Tests