Fix model errors (#17171)

This commit is contained in:
Nicolas Mowen
2025-03-16 06:01:15 -05:00
committed by GitHub
parent d87268acfe
commit db541abed4
5 changed files with 22 additions and 8 deletions
+5
View File
@@ -608,6 +608,11 @@ class FrigateConfig(FrigateBaseModel):
self.model.create_colormap(sorted(self.objects.all_objects))
self.model.check_and_load_plus_model(self.plus_api)
if self.plus_api and not self.snapshots.clean_copy:
logger.warning(
"Frigate+ is configured but clean snapshots are not enabled, submissions to Frigate+ will not be possible./"
)
for key, detector in self.detectors.items():
adapter = TypeAdapter(DetectorConfig)
model_dict = (