deepseek-harness/docs/user/guide
Yichen Jiang 72344fce93 fix(web): edit a declared provider's name and protocol
The Models editor card curated its pi-ai fields by what every route has,
so `displayName` and `api` — the two a hand-declared route names for
itself — were asked for at creation and then reachable only through
settings.yaml. The editor now renders both for a route the directory
reports as declared, from the same namespace schema the create card
reads. A catalog route gets neither: it defaults its name from its
catalog entry, and its models each carry their own protocol, so a
route-level one could only override all of them.

Clearing the name unsets it and the route falls back to its id, which is
what the field's placeholder shows; storing the empty string would be
refused by the adapter. A declared profile naming no protocol selects
nothing rather than reading as if it had picked the first choice.

The Provider ID stays fixed: it is the settings dict key, it is
referenced from `agent-default-model` and every logged request header,
and it is the stem of a credential reference the page can never read
back to move.

Fixes #2204
2026-08-10 22:40:57 +08:00
..
config.i18n.yaml docs: purge chain-of-thought leakage from prose 2026-08-09 21:10:59 +08:00
config.md docs: purge chain-of-thought leakage from prose 2026-08-09 21:10:59 +08:00
config.zh.md docs: purge chain-of-thought leakage from prose 2026-08-09 21:10:59 +08:00
index.i18n.yaml docs: complete Chinese proofreading and generated reference pairing 2026-08-09 11:02:16 +08:00
index.md cleanup(cli): remove dsh-cli-demo 2026-08-08 15:08:07 +08:00
index.zh.md docs: complete Chinese proofreading and generated reference pairing 2026-08-09 11:02:16 +08:00
providers-custom-form.png docs(user): show the Models page in the provider guide 2026-08-06 19:58:31 +08:00
providers-custom-form.zh.png docs(user): show the Models page in the provider guide 2026-08-06 19:58:31 +08:00
providers-models-page.png docs(user): show the Models page in the provider guide 2026-08-06 19:58:31 +08:00
providers-models-page.zh.png docs(user): show the Models page in the provider guide 2026-08-06 19:58:31 +08:00
providers.i18n.yaml fix(web): edit a declared provider's name and protocol 2026-08-10 22:40:57 +08:00
providers.md fix(web): edit a declared provider's name and protocol 2026-08-10 22:40:57 +08:00
providers.zh.md fix(web): edit a declared provider's name and protocol 2026-08-10 22:40:57 +08:00
quickstart.i18n.yaml Merge remote-tracking branch 'origin/master' into xjt/generated-docs-zh-translation-apply 2026-08-09 15:17:35 +08:00
quickstart.md fix(headless): dsh run is a direct core front door 2026-08-09 13:44:44 +08:00
quickstart.zh.md Merge remote-tracking branch 'origin/master' into xjt/generated-docs-zh-translation-apply 2026-08-09 15:17:35 +08:00