~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
chore(release): convert pending 1.7.0 staging notes to towncrier fragments (#3789)
LearningCircuitca4434c6f793
diff --git a/.gitignore b/.gitignoreindex 4fc240e18d..b027fd990b 100644--- a/.gitignore+++ b/.gitignore@@ -307,7 +307,11 @@ tests/ui_tests/mobile/*-screenshots/!docs/**/*.md!examples/**/*.md!cookiecutter-docker/**/*.md-# towncrier news fragments+# towncrier news fragments. The directory itself must be re-allowed+# explicitly because the `.d` extension means it gets caught by the+# `/*.*` root deny on line 38, and git can't re-include files inside+# a directory that the parent rule has excluded.+!changelog.d/!changelog.d/**/*.md# Block MD files in tests directories by defaultdiff --git a/.pre-commit-hooks/recommend-release-notes.py b/.pre-commit-hooks/recommend-release-notes.pyindex 1826238e43..f3d3c76015 100755--- a/.pre-commit-hooks/recommend-release-notes.py+++ b/.pre-commit-hooks/recommend-release-notes.py@@ -53,11 +53,14 @@ def _load_categories():CATEGORIES = _load_categories()-# changelog.d/<id>.<category>.md or changelog.d/+<slug>.<category>.md+# changelog.d/<id>.<category>[.<n>].md or changelog.d/+<slug>.<category>[.<n>].md# - <id>: integer PR/issue number# - +<slug>: orphan fragment with no PR/issue, slug is [A-Za-z0-9_-]++# - .<n>: optional integer counter suffix for multiple fragments of the+# same (id, category) — towncrier renders each as a separate bullet,+# all linked back to the same PR/issue.FRAGMENT_RE = re.compile(- r"^(?:\d+|\+[A-Za-z0-9_-]+)\.(?P<category>[a-z]+)\.md$"+ r"^(?:\d+|\+[A-Za-z0-9_-]+)\.(?P<category>[a-z]+)(?:\.\d+)?\.md$")# Color helpers: only emit ANSI when stdout is a TTY. CI logs and Windowsdiff --git a/changelog.d/3670.breaking.1.md b/changelog.d/3670.breaking.1.mdnew file mode 100644index 0000000000..bab61922d0--- /dev/null+++ b/changelog.d/3670.breaking.1.md@@ -0,0 +1 @@+**`llamacpp` provider migrated from in-process to HTTP.** No longer loads `.gguf` files in-process via `llama-cpp-python` — connects to `llama-server`'s OpenAI-compatible HTTP endpoint instead. Removed settings: `llm.llamacpp_model_path`, `llm.llamacpp_n_batch`, `llm.llamacpp_n_gpu_layers`, `llm.llamacpp_f16_kv`. New settings: `llm.llamacpp.url` (default `http://localhost:8080/v1`), `llm.llamacpp.api_key` (optional, for auth proxies). Migration: run `llama-server -m <your-model.gguf>` and the default URL picks it up; alternatively use the `openai_endpoint` provider pointed at the same URL.diff --git a/changelog.d/3670.breaking.md b/changelog.d/3670.breaking.mdnew file mode 100644index 0000000000..9aaa147258--- /dev/null+++ b/changelog.d/3670.breaking.md@@ -0,0 +1 @@+**`llm.model` no longer auto-fills `gemma3:12b`.** Pre-1.7 installs silently downloaded a multi-GB Ollama binary on first use. The field is now empty by default — pick a model in **Settings → LLM**, or research will fail loudly with a clear `ValueError`. Existing users with a saved `llm.model` setting are unaffected; fresh installs see an inline warning in Settings (`aria-live="polite"`) and a clear error on research start. Affects all built-in providers (`openai`, `anthropic`, `ollama`, `lmstudio`, `llamacpp`, `google`, `openrouter`, `ionos`, `xai`).diff --git a/changelog.d/3670.feature.md b/changelog.d/3670.feature.mdnew file mode 100644index 0000000000..802ed78ae2--- /dev/null+++ b/changelog.d/3670.feature.md@@ -0,0 +1 @@+**LM Studio optional API key.** New `llm.lmstudio.api_key` setting for LM Studio instances with authentication enabled.diff --git a/docs/release_notes/1.7.0.md b/docs/release_notes/1.7.0.mddeleted file mode 100644index 8f831c67fb..0000000000--- a/docs/release_notes/1.7.0.md+++ /dev/null@@ -1,33 +0,0 @@-# Remove silent model defaults + migrate llamacpp to HTTP — release notes (pending)--Staging notes for the silent-default removal shipped by [#3670](https://github.com/LearningCircuit/local-deep-research/pull/3670). Fold into the next tagged version's release-notes file when cutting the release.--## BREAKING — `llm.model` no longer has a default--Pre-1.7 installs auto-filled `gemma3:12b` (Ollama) when no model was configured, which silently downloaded a multi-GB binary on first use. The field is now empty by default — pick a model in **Settings → LLM**, or research will fail loudly with a clear `ValueError`.--### Impact--- Existing users with a saved `llm.model` setting are unaffected.-- Fresh installs will see an inline warning in Settings and a clear error on research start.-- All built-in providers (`openai`, `anthropic`, `ollama`, `lmstudio`, `llamacpp`, `google`, `openrouter`, `ionos`, `xai`) now require explicit model selection.--## BREAKING — llama.cpp provider migrated from in-process to HTTP--The `llamacpp` provider no longer loads `.gguf` files in-process via `llama-cpp-python`. Instead, it connects to `llama-server`'s OpenAI-compatible HTTP endpoint.--- **Removed settings**: `llm.llamacpp_model_path`, `llm.llamacpp_n_batch`, `llm.llamacpp_n_gpu_layers`, `llm.llamacpp_f16_kv`-- **New settings**: `llm.llamacpp.url` (default `http://localhost:8080/v1`), `llm.llamacpp.api_key` (optional, for auth proxies)-- **Migration**: Run `llama-server -m <your-model.gguf>` and the default URL will pick it up. Alternatively, use the `openai_endpoint` provider pointed at the same URL.--## New Features--- **LM Studio optional API key**: New `llm.lmstudio.api_key` setting for LM Studio instances with authentication enabled.-- **UI model-empty warning**: Settings page shows an inline warning (`aria-live="polite"`) when no model is selected.--## Settings--- `llm.model` (default `""`, was `"gemma3:12b"`) — no longer auto-fills; must be set explicitly.-- `llm.llamacpp.url` (default `http://localhost:8080/v1`) — HTTP endpoint for `llama-server`.-- `llm.llamacpp.api_key` (default `""`) — optional API key for llama-server behind an auth proxy.-- `llm.lmstudio.api_key` (default `""`) — optional API key for LM Studio with auth enabled.