Repository navigation
Description
Summary
In Claude Desktop gateway (3P) mode, the default static model catalog silently drops the reasoning-effort picker — the model list no longer shows each model's thinking/effort level (low/medium/high/xhigh/max), and the effort menu has nothing to offer. The effort ladder is only delivered over discovery (/v1/models), which static mode turns off.
Environment
- opencodex
@bitkyc08/opencodex2.80.0 (npm global; latest seen: 2.81.0) - Claude Desktop 2.26454.2 (macOS),
deploymentMode: "3p" - Desktop mode:
claudeCode.desktopMode = "gateway"(default), applied shape = static - Proxy:
http://127.0.0.1:10100,modelDiscoveryEnabled: false
Steps to reproduce
ocx claude desktop apply --gateway(no shape flag → defaultstatic).- Open the Claude Desktop Code tab model dropdown.
- No model row shows an effort level; the effort selector is empty/unavailable.
Confirmed on disk in ~/Library/Application Support/Claude-3p/configLibrary/<profile>.json:
{
"inferenceProvider": "gateway",
"inferenceGatewayBaseUrl": "http://127.0.0.1:10100",
"modelDiscoveryEnabled": false,
"inferenceModels": [
{ "name": "claude-opus-4-8-p04w", "labelOverride": "Claude Opus 5 5 (alphatech)", "anthropicFamilyTier": "opus", "isFamilyDefault": true },
...
]
}And the desktop log:
[custom-3p] Model discovery: not supported by provider; picker = 10 (inferenceModels)
Root cause
generateDesktop3pConfig() defaults to mode = "static" and emits only inferenceModels with modelDiscoveryEnabled: false. Your own source documents the gap:
src/claude/model-info.ts: "Claude Desktop 3P discovery is the only channel that can carry per-model capabilities (effort ladder / thinking types); the staticinferenceModelsschema has no capability fields."src/claude/desktop-3p.ts: static is default and "a static list OVERRIDES discovery (no merge)".
So with the default shape, Claude Desktop never receives capabilities.effort for any row, and its effort picker stays empty — even though opencodex does serve the ladder correctly over /v1/models (buildAnthropicModelInfos → modelInfo.capabilities.effort, effortCapability(ladder)).
Suspected secondary contributor
The wire ids are letter-first hashes (desktopProfileWireAlias, e.g. claude-opus-4-8-p04w). Desktop's effort selector was previously noted in your comments as "an allowlist keyed on exact supported model ids" that also "strips terminal dates before comparing". A p0xx suffix is neither a canonical id nor a date, so these rows may not match the allowlist even if capabilities were delivered. Worth confirming whether discovery mode actually restores effort, or whether the alias shape also blocks it.
Expected
Either the effort picker should work in the default gateway profile, or the docs should state that static mode drops it and which mode keeps it.
Possible fixes (your call)
- Deliver effort capability in the static shape too (if Desktop can read it), or
- Make the default gateway shape keep the effort picker, or
- Document on
ocx claude desktopthat static drops the effort selector and point at--discovery-only/--hybrid.
Workaround (applied locally)
ocx claude desktop apply --gateway --discovery-only(static also is the "only channel for supports1m/tier pins", so switching to discovery-only trades those away — hence the preference for a fix rather than a doc-only answer.)
Activity
github-actions commentedon Oct 9, 2026
Issue closed: use an issue template
Thanks for taking the time to submit this issue. It was closed automatically because it was not opened with a recognized issue template (Bug report, Feature request, Documentation, or Provider compatibility). Freeform and API-opened issues cannot skip this check.
Please edit the issue to add:
[Bug]:and applying thebuglabel alone is not enough without those section headings filled in.See the Contributing guide for details.
Once the report passes the automated checks, it will be reopened automatically unless a maintainer has changed its state.