From 5d518bfa6513b53eafaeb67908f9e22a1c2f56b2 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Fri, 6 Feb 2026 09:34:56 -0600 Subject: [PATCH] add full detectors config to api model dump works around the way we use detector plugins so we can have the full detector config for the frontend --- frigate/api/app.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frigate/api/app.py b/frigate/api/app.py index 1ac2bb3c3..d24d9e868 100644 --- a/frigate/api/app.py +++ b/frigate/api/app.py @@ -125,6 +125,10 @@ def config(request: Request): config: dict[str, dict[str, Any]] = config_obj.model_dump( mode="json", warnings="none", exclude_none=True ) + config["detectors"] = { + name: detector.model_dump(mode="json", warnings="none", exclude_none=True) + for name, detector in config_obj.detectors.items() + } # remove the mqtt password config["mqtt"].pop("password", None)