From 04a61440266a64e8cd3c832d9bd8a3b01e2fcc05 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Fri, 15 May 2026 15:10:38 +0200 Subject: [PATCH] UI / LLM - Model name should not be 'read only', tidy up drop down list of providers #4115 --- .../settings/templates/settings_llm_tab.html | 15 ++------------- changedetectionio/forms.py | 2 +- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/changedetectionio/blueprint/settings/templates/settings_llm_tab.html b/changedetectionio/blueprint/settings/templates/settings_llm_tab.html index 8d8532d2..f5309752 100644 --- a/changedetectionio/blueprint/settings/templates/settings_llm_tab.html +++ b/changedetectionio/blueprint/settings/templates/settings_llm_tab.html @@ -104,22 +104,12 @@ @@ -162,7 +152,6 @@
{{ render_field(form.llm.form.llm_model, - readonly=True, placeholder=_("Enter API key and click 'Load available models'")) }}
diff --git a/changedetectionio/forms.py b/changedetectionio/forms.py index 9ea93157..38054436 100644 --- a/changedetectionio/forms.py +++ b/changedetectionio/forms.py @@ -1092,7 +1092,7 @@ class globalSettingsLLMForm(Form): No separate provider dropdown needed — litellm routes automatically: gpt-4o-mini → OpenAI claude-3-5-haiku-20251001 → Anthropic - ollama/llama3.2 → Ollama (local) + ollama/llama3.2 → Ollama openrouter/google/gemma-3-12b-it:free → OpenRouter (free tier) gemini/gemini-2.0-flash → Google Gemini azure/gpt-4o → Azure OpenAI