LocalAI
LocalAI copied to clipboard
refactor: ListModels Filtering Upgrade
Description
This PR introduces just the ListModels and config package changes from my earlier middleware PR. In order to manage size and conflicts, this PR does not use Usecase-based filtering yet - simply migrates existing name based filtering to the new style and sets up the initial test to prove usecases are working.
In the upcoming [new] middleware PR, default models will take this into account and we can drive better dropdowns on the UI as well.
Deploy Preview for localai ready!
| Name | Link |
|---|---|
| Latest commit | 68a10060efff5c6a196d720eb6fd50ac005e0d0d |
| Latest deploy log | https://app.netlify.com/sites/localai/deploys/66fc2f5e9ad8ca00086c03ac |
| Deploy Preview | https://deploy-preview-2773--localai.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
@mudler I just updated this for the new SoundGeneration endpoint. It's ready for review whenever you get a chance - should have no effects on current behavior, just sets groundwork and introduces a test for a heuristic Usecase function we can use to drive dropdowns and suggest better "defaults"
force push seems to have fixed DCO - hopefully it doesn't snag again.
@mudler mind reviewing this when you get a chance? It's been sitting a while, so I did just merge master to shake out the dust.
this coqui test started to be flaky lately, ugh
this coqui test started to be flaky lately, ugh
I have been baby sitting that one for a few weeks now - it's unfortunately not related to PR content and is something we'll need to address separately.