mirror of
https://github.com/mudler/LocalAI.git
synced 2026-10-28 17:18:49 -04:00
Diagnostic calls panic on a nil context even when timing is disabled. Treat nil as an absent observation without changing loader contexts. Add failing-first coverage for timing helpers and cached model loads. The unchanged portable profile HTTP regression passes with this guard. Assisted-by: OpenAI:undisclosed Signed-off-by: Ettore Di Giacinto <mudler@localai.io> Co-authored-by: Ettore Di Giacinto <mudler@localai.io>