diff --git a/docs/docs/configuration/genai/config.md b/docs/docs/configuration/genai/config.md index 0bd0bc00b..67bbb9fe4 100644 --- a/docs/docs/configuration/genai/config.md +++ b/docs/docs/configuration/genai/config.md @@ -105,7 +105,6 @@ genai: keep_alive: -1 options: num_ctx: 8192 # make sure the context matches other services that are using ollama - num_ctx: 8192 # make sure the context matches other services that are using ollama ``` ### OpenAI-Compatible diff --git a/docs/docs/configuration/genai/objects.md b/docs/docs/configuration/genai/objects.md index 62233dc53..08d90a3f1 100644 --- a/docs/docs/configuration/genai/objects.md +++ b/docs/docs/configuration/genai/objects.md @@ -11,7 +11,6 @@ By default, descriptions will be generated for all tracked objects and all zones Optionally, you can generate the description using a snapshot (if enabled) by setting `use_snapshot` to `True`. By default, this is set to `False`, which sends the uncompressed images from the `detect` stream collected over the object's lifetime to the model. Once the object lifecycle ends, only a single compressed and cropped thumbnail is saved with the tracked object. Using a snapshot might be useful when you want to _regenerate_ a tracked object's description as it will provide the AI with a higher-quality image (typically downscaled by the AI itself) than the cropped/compressed thumbnail. Using a snapshot otherwise has a trade-off in that only a single image is sent to your provider, which will limit the model's ability to determine object movement or direction. -Generative AI object descriptions can also be toggled dynamically for a camera via MQTT with the topic `frigate//object_descriptions/set`. See the [MQTT documentation](/integrations/mqtt#frigatecamera_nameobject_descriptionsset). Generative AI object descriptions can also be toggled dynamically for a camera via MQTT with the topic `frigate//object_descriptions/set`. See the [MQTT documentation](/integrations/mqtt#frigatecamera_nameobject_descriptionsset). ## Usage and Best Practices @@ -76,4 +75,3 @@ Many providers also have a public facing chat interface for their models. Downlo - OpenAI - [ChatGPT](https://chatgpt.com) - Gemini - [Google AI Studio](https://aistudio.google.com) -- Ollama - [Open WebUI](https://docs.openwebui.com/) diff --git a/frigate/video.py b/frigate/video.py index facd45b7a..5e42619dd 100755 --- a/frigate/video.py +++ b/frigate/video.py @@ -244,35 +244,6 @@ class CameraWatchdog(threading.Thread): self._last_detect_status = status self._last_status_update_time = now - def _send_record_status(self, status: str, now: float) -> None: - """Send record status only if changed or retry_interval has elapsed.""" - if ( - status != self._last_record_status - or (now - self._last_status_update_time) >= self.sleeptime - ): - self.requestor.send_data(f"{self.config.name}/status/record", status) - self._last_record_status = status - self._last_status_update_time = now - - # Stall tracking (based on last processed frame) - self._stall_timestamps: deque[float] = deque() - self._stall_active: bool = False - - # Status caching to reduce message volume - self._last_detect_status: str | None = None - self._last_record_status: str | None = None - self._last_status_update_time: float = 0.0 - - def _send_detect_status(self, status: str, now: float) -> None: - """Send detect status only if changed or retry_interval has elapsed.""" - if ( - status != self._last_detect_status - or (now - self._last_status_update_time) >= self.sleeptime - ): - self.requestor.send_data(f"{self.config.name}/status/detect", status) - self._last_detect_status = status - self._last_status_update_time = now - def _send_record_status(self, status: str, now: float) -> None: """Send record status only if changed or retry_interval has elapsed.""" if ( diff --git a/web/vite.config.ts b/web/vite.config.ts index 148048995..cb1a580bf 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -4,7 +4,7 @@ import { defineConfig } from "vite"; import react from "@vitejs/plugin-react-swc"; import monacoEditorPlugin from "vite-plugin-monaco-editor"; -const proxyHost = process.env.PROXY_HOST || "1ocalhost:5000"; +const proxyHost = process.env.PROXY_HOST || "localhost:5000"; // https://vitejs.dev/config/ export default defineConfig({