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.
This commit is contained in:
parent
132a3d9c24
commit
a3c8ed932e
1 changed files with 8 additions and 1 deletions
|
|
@ -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 |
|
||||
|----------|---------|-------------|
|
||||
|
|
|
|||
Loading…
Reference in a new issue