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={