From de5c26dd0b35df274c2ed65f200fb02c134b67f4 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Wed, 4 Feb 2026 11:34:26 -0600 Subject: [PATCH] add warning log about incorrectly nested model config --- frigate/config/config.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frigate/config/config.py b/frigate/config/config.py index 69400a85f..c8cef38fe 100644 --- a/frigate/config/config.py +++ b/frigate/config/config.py @@ -560,6 +560,9 @@ class FrigateConfig(FrigateBaseModel): # users should not set model themselves if detector_config.model: + logger.warning( + "The model key should be specified at the root level of the config, not under detectors. The nested model key will be ignored." + ) detector_config.model = None model_config = self.model.model_dump(exclude_unset=True, warnings="none")