diff --git a/frigate/api/chat.py b/frigate/api/chat.py index 7b450bac74..83d2f503c6 100644 --- a/frigate/api/chat.py +++ b/frigate/api/chat.py @@ -1411,6 +1411,11 @@ When a user refers to a specific object they have seen or describe with identify ) + b"\n" ) + elif kind == "stats": + yield ( + json.dumps({"type": "stats", **value}).encode("utf-8") + + b"\n" + ) elif kind == "message": msg = value if msg.get("finish_reason") == "error":