feat(platform): filter model selector to only show chat-tagged models#1277
Conversation
The model dropdown on the chat page now filters the agent's supported models list to only display models that have the "chat" tag, preventing embedding-only or other non-chat models from appearing in the selector. Closes #1258
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis change modifies the model-selector component to filter the list of available models for chat functionality. The component now derives a Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Summary
chattagchattag (e.g., embedding-only models) are now excluded from the dropdownfilteredModelsmemo that filterssupportedModelsby checking each model's tags from the provider configCloses #1258
Test plan
chattag appear in the model selector dropdownSummary by CodeRabbit