From 9a015041a575640a06af8bc699192371f5c24de0 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Mon, 14 Jul 2025 14:22:35 +0200 Subject: [PATCH 1/7] WIP for LLM integration --- .../settings/templates/settings.html | 11 ++++++ .../blueprint/tags/templates/edit-tag.html | 2 +- .../watchlist/templates/watch-overview.html | 24 +++++++++--- changedetectionio/forms.py | 37 ++++++++++++++++++ changedetectionio/model/App.py | 4 ++ changedetectionio/model/__init__.py | 3 ++ .../static/images/open-ai-logo.png | Bin 0 -> 15260 bytes .../static/styles/scss/styles.scss | 10 +++-- changedetectionio/static/styles/styles.css | 2 +- changedetectionio/templates/base.html | 6 +++ changedetectionio/templates/edit.html | 3 +- .../templates/edit/include_subtract.html | 12 ++++++ 12 files changed, 101 insertions(+), 13 deletions(-) create mode 100644 changedetectionio/static/images/open-ai-logo.png diff --git a/changedetectionio/blueprint/settings/templates/settings.html b/changedetectionio/blueprint/settings/templates/settings.html index 88ebd6de77b..8a81f34ac29 100644 --- a/changedetectionio/blueprint/settings/templates/settings.html +++ b/changedetectionio/blueprint/settings/templates/settings.html @@ -23,6 +23,7 @@
  • Fetching
  • Global Filters
  • UI Options
  • +
  • AI
  • API
  • Time & Date
  • CAPTCHA & Proxies
  • @@ -257,6 +258,16 @@

    Chrome Extension

    Realtime UI Updates Enabled - (Restart required if this is changed) +
    +
    + {{ render_checkbox_field(form.application.form.ai.form.openai_key) }} + Go here to read more about OpenAI integration +
    +
    + {{ render_checkbox_field(form.application.form.ai.form.gemini_key) }} + Go here to read more about Google Gemini integration +
    +