You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Features:
- Add model_filter field to Provider schema for substring filtering
- Filter models by name during sync (case-insensitive substring match)
- Example: ":free" filters OpenRouter to only sync free models
Database:
- Add model_filter column to providers table with migration
- Update expected_columns list for validation
Backend:
- Implement filtering in provider_sync.py after fetch
- Log original count, filtered count, and filter pattern
- Filter applied before model processing
API:
- Add model_filter parameter to create_provider and update_provider
- Update provider endpoints to handle model_filter
- Add model_filter to admin provider creation/update
UI:
- Add Model Filter input field to Add Provider form
- Add Model Filter input field to Edit Provider form
- Display filter in provider list (Admin page)
- Load filter value when editing provider
- Placeholder text explains usage (e.g., ":free")
Use Case:
- Filter OpenRouter models with ":free" to only sync free models
- Reduce LiteLLM model count and improve performance
- Only sync relevant models from large provider catalogs
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
0 commit comments