Files
deepseek-harness/apps/cli/tests
LegGasai 56a4108722 feat(llm-pi-ai): add provider rows for routes that another layer supplies
A patch that sets the config of the llm-pi-ai row replaces the `providers`
dict of the layers before it. A deployment's home patch and the profile
patch that the Models page writes therefore cannot both configure
providers: the home patch's dict replaces the person's, and the
configuration editor refuses every later save of that row.

A layer that adds a provider now writes a row of
`@deepseek-ai/dsh-llm-pi-ai/provider`, whose config is the route key and
the profile fields of a dict entry. The adapter row serves those rows
together with its dict. Of the declarations that name one route, the one
that comes last in the composed entry list is in effect, and the dict
takes the position of the adapter's row. The dict, stored profile patches
and the Models page's writes are unchanged.

The configuration editor reports whether a home patch or an overlay
decides the config a row runs with (`managed`), settings forwards it with
the row's plugin name on each descriptor and namespace view, and the
Models page shows a managed provider row with a tag and a card whose
controls are disabled.
2026-11-24 14:41:37 +08:00
..