LocalAI/core/http/routes
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
..
elevenlabs.go chore: fix go.mod module (#2635) 2024-06-23 08:24:36 +00:00
jina.go chore: fix go.mod module (#2635) 2024-06-23 08:24:36 +00:00
localai.go feat(p2p): Federation and AI swarms (#2723) 2024-07-08 22:04:06 +02:00
openai.go feat(model-list): be consistent, skip known files from listing (#2760) 2024-07-10 15:28:39 +02:00
ui.go feat(model-list): be consistent, skip known files from listing (#2760) 2024-07-10 15:28:39 +02:00