fix(core): preserve slash model ids for explicit providers#176
fix(core): preserve slash model ids for explicit providers#176SantiagoDePolonia merged 1 commit intomainfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (6)
📝 WalkthroughWalkthroughThe changes modify provider resolution logic to treat explicitly specified providers as authoritative when parsing model selectors. A helper function was added to conditionally strip matching provider prefixes from models, enabling slash-containing model identifiers to coexist with different explicit providers. Test cases across the codebase were updated to reflect the new behavior, removing conflict-error assertions and replacing them with pass-through scenarios. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 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 |
Summary
openai/gpt-oss-120bfor explicit provider routing and alias resolutionTesting
Summary by CodeRabbit
Bug Fixes
openai/gpt-oss-120b) can now be used with explicit provider settings without generating conflicts.Tests