LocalAI icon indicating copy to clipboard operation
LocalAI copied to clipboard

refactor: ListModels Filtering Upgrade

Open dave-gray101 opened this issue 1 year ago • 1 comments

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.

dave-gray101 avatar Jul 11 '24 18:07 dave-gray101

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...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Jul 11 '24 18:07 netlify[bot]

@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"

dave-gray101 avatar Aug 24 '24 17:08 dave-gray101

force push seems to have fixed DCO - hopefully it doesn't snag again.

dave-gray101 avatar Aug 25 '24 05:08 dave-gray101

@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.

dave-gray101 avatar Sep 23 '24 20:09 dave-gray101

this coqui test started to be flaky lately, ugh

mudler avatar Oct 01 '24 08:10 mudler

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.

dave-gray101 avatar Oct 01 '24 17:10 dave-gray101