LocalAI/core
Ettore Di Giacinto 59ef426fbf
feat(model-list): be consistent, skip known files from listing (#2760)
fix(model-list): be consistent, skip known files from listing

This changeset does two things:

- Removes the dependency of listing models from the OpenAI schema.
- Tries to reduce confusion between ListModels() in model loader and in
  the service - now there is only one ListModels which is in services
and does not depend anymore on the OpenAI schema
- The OpenAI-schema functions were moved nearby the OpenAI specific
  endpoints that needs the schema
- Drops the ListModel Service structure as there was no real need for
  it.

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2024-07-10 15:28:39 +02:00
..
backend feat: HF /scan endpoint (#2566) 2024-07-10 13:18:32 +02:00
cli feat: HF /scan endpoint (#2566) 2024-07-10 13:18:32 +02:00
clients feat(store): add Golang client (#1977) 2024-04-16 15:54:14 +02:00
config feat: HF /scan endpoint (#2566) 2024-07-10 13:18:32 +02:00
dependencies_manager chore: fix go.mod module (#2635) 2024-06-23 08:24:36 +00:00
gallery feat: HF /scan endpoint (#2566) 2024-07-10 13:18:32 +02:00
http feat(model-list): be consistent, skip known files from listing (#2760) 2024-07-10 15:28:39 +02:00
p2p feat(p2p): allow to disable DHT and use only LAN (#2751) 2024-07-09 23:10:02 +02:00
schema docs(swagger): enhance coverage of APIs (#2753) 2024-07-09 23:09:49 +02:00
services feat(model-list): be consistent, skip known files from listing (#2760) 2024-07-10 15:28:39 +02:00
startup feat(model-list): be consistent, skip known files from listing (#2760) 2024-07-10 15:28:39 +02:00
application.go feat(model-list): be consistent, skip known files from listing (#2760) 2024-07-10 15:28:39 +02:00