The admin serializer only sets the field when the catalog declares
`codex_supported_reasoning_levels`, but both non-admin serializers copied the
raw `.get(...)` result, which is `null` for every model that declares nothing.
The web composer guards with `supported_reasoning_efforts !== undefined` before
calling `.map`, so any ordinary account granted such a model crashed on
`/chat` — admins were unaffected, which is why a fresh home never reproduced
it (#2732, #2833).
Share one `declared_reasoning_levels` helper across the admin serializer,
`redacted_model_access`, `allowed_llm_options`, and the personal sign-in rows:
each now either emits a normalized list or omits the key.
Repairs are targeted edits to a script that already exists: a render
error, a layout finding, a compile error. With a reasoning chat model
they routinely take minutes (Math Animator repairs regularly ran past
the 180 s repair timeout); the Settings task model does them in seconds.
task_model_agent(factory) builds an agent bound to the task model at its
configured reasoning level, or returns None when no task model is set.
- Math Animator: repair_agent = task-model CodeGeneratorAgent, falling
back to the main code agent.
- Video Lesson: the first draft is still written by the chat model;
attempts 2+ go to a task-model LessonWriterAgent that shares the same
conversation (share_conversation), falling back to the main writer.
claude-haiku-5-5 rejects an explicit temperature with
"temperature: Extra inputs are not permitted", so every request (including
`deeptutor doctor --online`) failed with a 400. Add claude-haiku-5 to
ANTHROPIC_EFFORT_BASED_FAMILIES so temperature is omitted on direct and
gateway routes and effort maps to adaptive thinking, and offer the matching
none/adaptive reasoning levels in model selection.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The image-description save gate derived the vision capability from the
provider the runtime detects from `base_url`, while the settings picker
used the provider the profile declares. A profile that binds `openai`
and points the base URL at a local gateway falls in between: the picker
offers the model, then PUT /document-parsing rejects it with 400.
Both sides now share one rule -- a model's own capability declaration
first, then the provider tables -- and the gate reads the picker's own
verdict, so the two cannot drift apart again.
Refs #2037
Signed-off-by: cgycorey <cgycorey@users.noreply.github.com>
The Image description model dropdown filters /api/settings/llm-options on
supports_vision, but the endpoint only emitted declared_vision, which no
frontend code reads, so the list was always empty.
Emit supports_vision per model, preferring the catalog's own capability
declaration and falling back to supports_vision(provider, model) for the
provider/MODEL_OVERRIDES defaults. The declaration has to win here: the
process-global override table only refreshes on the next runtime
resolution, so reading it alone left a freshly declared model hidden in a
newly started process -- the same asymmetry the issue reports. This is the
rule lightrag/roles.py already applies.
Signed-off-by: cgycorey <cgycorey@users.noreply.github.com>
The interface ships in French and Ukrainian alongside English and
Chinese, and /language pins a reply language for one conversation.
Immersive reading organizes collections as colored folders, adds a
fullscreen learning mode, and turns Explain / Translate / Guide me on a
selection into ordinary messages in the reading chat; "Quiz me on this
page" runs one quiz turn without changing the conversation's mode, which
retires the reading-openers endpoint and its task model. Images embedded
in DOCX, PPTX and PDF are extracted in place and reach vision models.
Office files preview as paged PDFs through LibreOffice (now in the Docker
image), falling back to the in-browser renderers without it. Web sources
re-sync on a durable schedule, linked folders sync on demand, .bib files
index, and a zotero_search tool queries Zotero. Settings gains Learning
progress and credential-free presets; admins import users from CSV;
split deployments can hand a session to a public device. Grok CLI joins
the subagents, Unifically the providers, ChatGPT exports the importers.
Gate cleanup: mypy/bandit findings in the new launcher, audio-overview,
web-source, reading-store and textbook modules; the task-model copy test
follows the retired reading_openers kind.
See assets/releases/ver1-6-11.md for the full notes, and the README
Releases row plus its eleven translations.
Ship folder-based workspaces and data migration, daily practice, redesigned
provider and model settings, and streaming conversation improvements.
Synchronize README translations and document the archive/permanent-delete
upgrade behavior in assets/releases/ver1-6-9.md.
Reduce initial JavaScript by deduplicating English resources and loading
animation features after hydration. Keep the existing route size budgets.
Update regression fixtures and browser audits for scoped URLs and the new
settings and learning interfaces.
Three things from a look at the new model pages.
The next section's rule was drawn on top of the cards: the grid and the
panels below it were siblings, so the container's spacing never applied
between them.
Cards that open now look like it — a chevron in the lower right that
shifts on hover, a border and tint that lift, a press that registers.
They read as panels that happened to be clickable, which is the same as
not clickable. Search cards draw no chevron, because they have no models
to open into, so the two kinds are told apart before you click.
And the task model was wrong twice over. It asked which model should
name conversations and which should write the starting points, as if
anyone would answer those differently — both are short, frequent, and
want the same small fast model. It is one setting now. It also asked for
that model through a flat dropdown, when it is the same kind of thing as
the LLM and deserves the same shape: the catalog carries a `task`
service, so the whole provider/model editor applies to it unchanged, and
a provider already set up for chat can be brought over instead of typed
again. Empty stays the default and the common case — both calls then
resolve the LLM exactly as before, and the page says so and shows which
model that currently is.
Two tests stopped hardcoding the list of services and derive it, so the
next one to be added needs only its own test written.
Model configuration was one layer replicated seven times: every service
stored its own profile with its own credentials, so a single OpenRouter
key had to be pasted into five separate pages. Every comparable product
(Dify, Open WebUI, Cherry Studio, RAGFlow) splits this in two — a
credential entered once, then a per-purpose assignment — so this adds
that split without disturbing what already works.
Connections
A connection holds one vendor credential (api_key / api_version /
extra_headers, plus an optional endpoint override). Linking creates one
ordinary profile per service that can use it, and the credential is
mirrored down on save rather than resolved on read — so every consumer
of the catalog keeps reading self-contained profiles and a linked
profile resolves exactly like a hand-typed one. Rotating the key in one
place reaches every linked profile; deleting a connection unlinks
rather than wipes. Anyone wanting a different key per service simply
never makes a connection.
Which services a vendor can serve is derived from the six provider
tables that already exist (new `connection_targets` in GET /settings),
so the web app keeps no second copy and adding a vendor to a service
table is enough to make it connectable.
Task models
Naming a conversation and writing the three home-screen starting points
are LLM calls nobody asked for — short, frequent, and fine on a small
fast model. Both can now be pinned to their own configured model from
Settings > Models > Task models. Unpinned is the default and a true
no-op: the title still follows the turn's own model and the starters
the active one, exactly as before. A pin at a deleted profile reverts
to inheriting rather than stranding the call.
* feat: add per-conversation reasoning-effort override (#641)
* refactor(config): parse the LLM selection once
`apply_llm_selection_to_catalog` already calls `LLMSelection.from_payload`,
so resolving the override parsed the same payload a second time — meaning a
malformed `reasoning_effort` was validated and raised from two places.
`from_payload` is idempotent on an already-parsed value, so parse once and
pass the object through.
Also correct the `VALID_REASONING_EFFORTS` comment: it called itself the
single source of truth while pointing at two things that are not the same
vocabulary. `reasoning_params.py` maps a level onto a provider's actual knob,
and the per-backend `efforts` lists say what each subagent CLI accepts (some
are empty — no effort flag at all). This constant is only the
request-validation union.
---------
Co-authored-by: Ademola <ademicho@gmail>
Co-authored-by: Frank <bingxizhao@novix.science>