From c0527d15156b5d3270f04e5e80815fa1a84c91d2 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Thu, 19 Mar 2026 15:10:12 -0600 Subject: [PATCH] Cleanup --- frigate/api/app.py | 1 - frigate/api/chat.py | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/frigate/api/app.py b/frigate/api/app.py index 09a459156a..6df0b18839 100644 --- a/frigate/api/app.py +++ b/frigate/api/app.py @@ -243,7 +243,6 @@ def get_active_profile(request: Request): return JSONResponse(content={"active_profile": config_obj.active_profile}) - @router.get("/ffmpeg/presets", dependencies=[Depends(allow_any_authenticated())]) def ffmpeg_presets(): """Return available ffmpeg preset keys for config UI usage.""" diff --git a/frigate/api/chat.py b/frigate/api/chat.py index 63788c6f9d..c8806fa208 100644 --- a/frigate/api/chat.py +++ b/frigate/api/chat.py @@ -331,7 +331,9 @@ async def execute_tool( if tool_name == "set_camera_state": result = await _execute_set_camera_state(request, arguments) - return JSONResponse(content=result, status_code=200 if result.get("success") else 400) + return JSONResponse( + content=result, status_code=200 if result.get("success") else 400 + ) return JSONResponse( content={