From a3c8ed932e637d9658bea5e7dc3325ebe3043f4e Mon Sep 17 00:00:00 2001 From: Pier-Jean Malandrino Date: Wed, 6 May 2026 09:55:56 +0200 Subject: [PATCH] docs(#254): document WITH_REASONING build-arg in README The standard latest-local image no longer bundles docling-agent / mellea. Add a note in the Live reasoning trace section pointing at the build-arg and the compose env var, with the canonical local-reasoning image tag. --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b2cea50..342a4c9 100644 --- a/README.md +++ b/README.md @@ -326,7 +326,14 @@ export REASONING_MODEL_ID=gpt-oss:20b # any model already pulled in Ol export LLM_PROVIDER_TYPE=ollama ``` -Then `pip install docling-agent mellea` (or use the `local` Docker image which bundles them) and restart the backend. The frontend reads `reasoningAvailable` from `/api/health` and hides the **Reasoning** sidebar entry when the runner isn't wired — so users never click through to a 503. +Then `pip install docling-agent mellea` (or rebuild the `local` Docker image with `--build-arg WITH_REASONING=true` to bundle them) and restart the backend. The frontend reads `reasoningAvailable` from `/api/health` and hides the **Reasoning** sidebar entry when the runner isn't wired — so users never click through to a 503. + +> **Note** — since #254, the standard `latest-local` image no longer ships `docling-agent` / `mellea`. Build a separate variant when you need them: +> ```bash +> docker build --target local --build-arg WITH_REASONING=true \ +> -t docling-studio-backend:local-reasoning ./document-parser +> ``` +> Or with compose: `WITH_REASONING=true docker compose up --build`. | Variable | Default | Description | |----------|---------|-------------|