Cleanup of legacy model code - Part 1#1598
Conversation
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
|
Will write a test for model list and then undraft this. |
Code ReviewReview SummaryThis PR removes ~2,000 lines of legacy model management code (class hierarchy, unused endpoints, import modals) and replaces the core Must Fix (blocks merge)
Should Fix (important but not blocking)
Consider Improving
What's Working Well
|
|
Re: code review comments:
The rest I think isn't worse than before and I think will get cleaned up anyways on next pass. |
|
OK fixed all of the stuff I said above (all Must Fix and Should Fix). |
Step 1 of big cleanup of code for handling models in the API.
There is a lot but this should be mostly safe as it's primarily just deleting and moving things into the right place.
Remove:
Reorganize:
Added model_service test: this almost certainly tests conditions we don't support now, but will clean that up with the final model_service and router clean up in part 2. (Makes changing things easier)