LocalAI/core/http/middleware
Ettore Di Giacinto 92f99b1ec3
fix(token): login via legacy api keys (#9249)
We were not checking against the api keys when db == nil.

This commit also cleanups now unused middleware

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2026-04-06 21:45:09 +02:00
..
baseurl.go feat: migrate to echo and enable cancellation of non-streaming requests (#7270) 2025-11-14 22:57:53 +01:00
baseurl_test.go feat: migrate to echo and enable cancellation of non-streaming requests (#7270) 2025-11-14 22:57:53 +01:00
middleware_suite_test.go feat: migrate to echo and enable cancellation of non-streaming requests (#7270) 2025-11-14 22:57:53 +01:00
request.go feat(api): Return 404 when model is not found except for model names in HF format (#9133) 2026-03-31 10:48:21 +02:00
request_test.go feat(api): Return 404 when model is not found except for model names in HF format (#9133) 2026-03-31 10:48:21 +02:00
strippathprefix.go feat: migrate to echo and enable cancellation of non-streaming requests (#7270) 2025-11-14 22:57:53 +01:00
strippathprefix_test.go feat: migrate to echo and enable cancellation of non-streaming requests (#7270) 2025-11-14 22:57:53 +01:00
trace.go feat: add distributed mode (#9124) 2026-03-30 00:47:27 +02:00
usage.go feat: add users and authentication support (#9061) 2026-03-19 21:40:51 +01:00