Files
deepseek-harness/docs
LegGasai eae8f05f43 feat(ui-settings-models): show a pi-ai provider row as a pi-ai route
The Models page chose a card layout by namespace id, so a provider row,
whose namespace is its own row id, got the card for a form without a
layout: one line that names the patch file, and a disabled Save.

Settings already sends the page everything it needs to do better. A
provider row's form declares exactly the fields of an entry of the
adapter row's providers dict, because both are built from the same field
schemas, so the page recognizes the row by its form and lays its route
out as a pi-ai route at the root of the row's namespace. No interface
carries the fact, and settings, its Remote controller, and the
configuration editor are unchanged.

A key typed for a row is stored under the credential reference the row
names. A changed field goes to the configuration editor, which refuses a
row that a home patch or overlay adds; the card shows that refusal. While
the profile patch holds no override of a row, the card takes the running
config as the layer a cleared field returns to, so a row that a later
layer adds shows its models and name. A provider row waits for its key as
an ordinary row in the first-run posture, like a dict entry.

The editor is keyed by the route's settings address: when another row
starts to serve the route being edited, the draft and revision read at
the old address are dropped instead of being written to the new one.
2026-11-24 14:41:37 +08:00
..