Keep application extension sensitivity policy with consumers

This commit is contained in:
2026-11-21 17:51:52 +00:00
parent 1408001fce
commit 63e2968038
2 changed files with 11 additions and 4 deletions

View File

@@ -233,7 +233,9 @@ capacity defaults to 1024. An explicit queue capacity, including zero,
requires positive concurrency and must be nonnegative. Unlimited concurrency
has no queue. Provider maps contain JSON-compatible values; null entries are
ordinary JSON null. A raw `api_key` is not a Promptkit credential field: an
unrecognized backend field is application data and must not contain secrets.
unrecognized backend field is application data and is not automatically redacted
by Promptkit. Applications own sensitivity declarations and disclosure policy
for their extension fields.
`smoke_tests` is optional backend metadata for explicit diagnostic operations.
It may contain `default_profile`, `reachability`, and `authentication`:
@@ -306,8 +308,9 @@ Nonblank endpoints follow the backend URL rules; temperature is 0–2, top_p
is 0–1, max_tokens and timeout_seconds are nonnegative. Provider maps accept
JSON-compatible values with nonempty keys and cannot collide with the built-in
client's [standard request fields](integrations/openai-compatible-chat.md#request-body).
Credential values do not belong in profiles. A raw `api_key` is not a
Promptkit credential setting; an unrecognized field is application data.
A raw `api_key` is not a Promptkit credential setting; an unrecognized profile
field is application data. Applications own its sensitivity declarations and
disclosure policy, just as for backend extension fields.
### Defaults And Overrides