Skip to content

manifest: recognize disabled_models / additional_models config keys - #294

Closed
jmm-ant wants to merge 2 commits into
anthropics:mainfrom
jmm-ant:jmm/model-picker-config-keys
Closed

manifest: recognize disabled_models / additional_models config keys#294
jmm-ant wants to merge 2 commits into
anthropics:mainfrom
jmm-ant:jmm/model-picker-config-keys

Conversation

@jmm-ant

@jmm-ant jmm-ant commented Jul 17, 2026

Copy link
Copy Markdown

The add-in now reads two config keys that shape the model picker on third-party deployments: disabled_models hides ids, additional_models offers ids beyond the catalog baked into the build. Without registering them here the install script rejects them with "unknown key".

Both accept a JSON array or a comma list on all three config channels. They need their own pattern rather than reusing disabled_features': model ids carry . : @ - characters that the feature-slug pattern rejects, so admins would get a spurious warning on every valid value.

Document the keys as manifest params, bootstrap fields, and per-user extension attributes, including the precedence rule (disabled wins) and that both are inert in Outlook, where the mail safety gate pins the surface to a vetted model.

No-Verification-Needed: docs + validator entry, no runtime surface; verified by running build-manifest.mjs end-to-end and unit-testing the new pattern

The add-in reads available_models on third-party deployments: the list of
models the picker offers, replacing the catalog baked into the build.
Without registering it here the install script rejects it with
"unknown key".

It accepts a JSON array or a comma list on all three config channels. It
needs its own pattern rather than reusing disabled_features': model ids
carry . : @ - characters that the feature-slug pattern rejects, so admins
would get a spurious warning on every valid value.

Document it as a manifest param, a bootstrap field, and a per-user
extension attribute, including that setting it pins the deployment to the
list, and that in Outlook it may only narrow the picker, never extend it.

No-Verification-Needed: docs + validator entry, no runtime surface; verified by running build-manifest.mjs end-to-end and unit-testing the pattern against real provider-form ids
@jmm-ant
jmm-ant force-pushed the jmm/model-picker-config-keys branch from fa5108e to 3237141 Compare July 17, 2026 20:48
mihilmy
mihilmy previously approved these changes Jul 23, 2026
…ON channels

The comma (Entra) channel carries bare ids only; the JSON forms accept
objects so admins can control the picker label for internal gateway ids.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants