Repository navigation
Models and catalog
English | 简体中文
This page explains where the model list comes from, how it is cached and merged, which models the picker shows, and how efforts, context windows, and input types are derived. The plugin ships no static model list: everything comes from your account's catalog.
This section names the catalog request and the two response shapes it accepts.
The catalog is GET <apiBase>/models (production https://api.openai.com/v1/models) with your plan token. The plugin sends the last ETag it saw as If-None-Match; a 304 Not Modified keeps the stored rows and only extends their freshness.
Two response shapes are accepted:
- the plan catalog,
{ "models": [ { "slug", "display_name", "visibility", ... } ] } - the public API list,
{ "data": [ { "id", ... } ] }
Any other shape fails with INVALID_MODEL_CATALOG instead of being read as an empty list. A row is dropped only when it says supported_in_api: false.
From each row the plugin keeps: slug and display name, the reasoning levels it supports and its default level, whether it supports reasoning summaries, context_window, max_context_window, input_modalities, verbosity support, description, per-effort descriptions, service_tiers, visibility, and priority. The raw row is kept in the local accounts file for later use; it never leaves the plugin's process through the card (see Route and compliance).
This section explains when the plugin goes to the network for the catalog and when it serves the stored copy.
| Trigger | Behavior |
|---|---|
| DSH model discovery (opening the model picker) | Fetches the catalog for the active account (with If-None-Match). On a network error or timeout it falls back to the stored catalog, so the picker still fills offline. |
| DSH model listing | Serves the stored catalog. The first listing for a new account or API origin fetches once. A stored catalog older than five minutes is served as-is and revalidated in the background. |
| Card, Refresh Catalog | Fetches and merges, then redraws the catalog table. |
dsh-chatgpt-siwc models |
Fetches, merges, saves, and prints the visible models. |
dsh-chatgpt-siwc discover --refresh, or the siwc_discover tool with refresh: true
|
Fetches and merges when signed in with plan access; otherwise reports the stored catalog and says why it did not refresh. |
No catalog is fetched for an account that is not signed in or has no plan access.
This section explains why a thin or partial response cannot erase what is already known.
All three write paths (the engine's catalog rebuild, the models command, and the discovery tool's direct refresh) merge incoming rows onto stored rows by slug:
- A field present in the new row replaces the stored value. A field missing from the new row keeps the stored value. A thin
data[]response therefore cannot wipe out efforts, context windows, or tiers learned earlier. -
unsupportedServiceTiersis the plugin's own record (see Configuration); it is the union of old and new and always survives a refresh. - An empty response never replaces a non-empty stored catalog.
- Server order of the new response is kept.
This section gives the visibility rules, so a model that is missing from the picker can be explained.
Catalog visibility
|
Default | With includeHiddenModels: true
|
|---|---|---|
list, or no visibility field |
shown | shown |
hide |
hidden | shown, except codex-auto-review and gpt-reserve
|
| any other value | hidden | hidden |
A utility slug appears only if includeHiddenModels is on and the slug is a key in modelOverrides. The DSH picker follows your includeHiddenModels and modelOverrides settings. The siwc_discover tool and the discover and models commands use the default rules. The card's catalog table lists every stored row and marks hidden ones with a badge.
This section explains how each model's picker entry is built from its catalog row.
-
Efforts. The plugin's effort vocabulary is
none,minimal,low,medium,high,xhigh,max,ultra. A model offers the levels its catalog row lists, in that vocabulary, with the catalog's per-effort descriptions. If the catalog lists none, efforts frommodelOverridesare used; if neither exists, the picker offers no effort choice rather than inventing one.ultraappears only for a model that advertises it. -
Context window. Reported as described in Configuration: override, then
contextBudget, then catalog, never above the catalog window, and not reported at all when nothing discloses one. -
Input types. The plugin reports the catalog's advertised input types intersected with what its request mapper can carry (
['text', 'image']). For models whose catalog row disclosesimageinput, surface images in user messages are validated (PNG/JPEG/WEBP/GIF, up to 20 MiB per image and 64 MiB base64 per request, triggeringIMAGE_OFFLOAD_REQUIREDbeyond that) and sent asinput_imagedata:URLs after DSH's handle text. Files, tool-result attachments, offloaded images, and images sent to text-only models are replaced with DSH's placeholder text so the conversation still sends cleanly. - Description. The catalog description, when present, is passed to DSH with the model.
This section describes the read-only view of the stored catalog in the settings card.
The Cached model catalog block lists the active account's stored models with columns Model, Context, Max (recorded fact), Efforts, and Tier / Visibility. A Fast badge marks models whose catalog lists priority and that are not marked unsupported; a Hidden badge marks visibility: "hide". Refresh Catalog fetches a new copy. The table is built from a strict allowlisted projection of each row; the raw row and any base_instructions are not sent to the browser.
This section lists catalog-related behavior that has no live evidence yet.
-
ultrawas shown in the native picker for GPT-6.1 Terra in a live DSH UI check on 2026-11-09 (releasev0.2.1-rc.3). Live inference atultrahas not been tested. - The plan catalog's field names are read as observed; OpenAI can change them. Unknown fields are kept in the raw row and ignored.
dsh-chatgpt-siwc
English
- Home
- Install
- Sign-in and accounts
- Configuration
- Models and catalog
- Prompt cache
- Route and compliance
- Architecture
- CLI and doctor
- Troubleshooting
- FAQ
- Changelog
- Contributing
简体中文