Skip to content

[Bug]: Claude Desktop Code effort picker missing: static profile wire aliases do not match canonical capabilities #7006

Closed

Description

@richardfeiliu-a11y

Client or integration

Claude Code — Claude Desktop's Code tab, using OpenCodex's third-party gateway profile (not the standalone Claude Code terminal).

Area

Catalog / models

Summary

The Code tab has no reasoning-effort selector with the default static gateway profile on OpenCodex 2.83.0 and Claude Desktop 2.31226.1.0 on Windows.

OpenCodex converts persisted date aliases into non-date wire aliases such as claude-opus-4-8-p06q. In the installed Desktop build, the effort fallback normalizes terminal dates but preserves -p06q, then performs a canonical-model lookup. Consequently this alias does not inherit the claude-opus-4-8 effort options.

Related: #6810 reported the same symptom and suspected the alias mismatch. It was automatically closed for missing template fields, rather than resolved with a code fix. This report follows the bug template and adds locally verified normalization evidence on Windows.

Expected: the supported gateway configuration offers the model's actual effort levels. Unsupported levels should not be advertised just because an alias resembles Opus.

Reproduction

  1. Install @bitkyc08/[email protected] and enable a routed model with a reasoning ladder.
  2. Apply the default static gateway profile using ocx claude desktop apply --gateway (or the dashboard's equivalent).
  3. Confirm the generated Claude-3p profile has modelDiscoveryEnabled: false and a non-date alias such as claude-opus-4-8-p06q in inferenceModels.
  4. Fully quit and open Claude Desktop; select a routed model in the Code tab.
  5. The effort selector is missing.

Observed configuration has 11 enabled models. The symptom was reported in the Code tab; a fresh end-to-end UI comparison after the local workaround has not yet been confirmed.

Version

OpenCodex @bitkyc08/opencodex 2.83.0, global npm installation.

Claude Desktop Windows package 2.31226.1.0.

The upstream main version of src/claude/desktop-profile.ts inspected when filing still calls desktopProfileWireAlias(assignment.alias) for non-Anthropic rows. The upstream build itself was not run.

Operating system

Windows 11 Pro, version 10.0.26300, build 26300, x64.

Provider and model

Not specific to one provider. Example affected route: volcengine-agent-plan/ark-code-latest; other enabled rows include native GPT and routed DeepSeek, GLM, Nemotron, LongCat, Step and Grok models.

Logs or error output

No gateway inference error is needed to trigger the issue; the client-side capability lookup fails before inference.

Code-level observations from the installed packages:

  • OpenCodex src/claude/desktop-profile.ts: desktopProfileWireAlias() transforms a stored date slot into a p-prefixed base36 suffix. renderDesktopProfile() sends that alias to Desktop.
  • Desktop bundle .vite/build/index.chunk-EzXl5k4A.js: canonicalization (cS/IC) removes terminal eight-digit dates and context markers, but not the profile wire suffix. The effort fallback (X0t) looks up the normalized ID in a canonical table (L0t), containing claude-opus-4-8.
  • The Code-surface resolver (p3t) falls back to that lookup when no hybrid/model-catalog thinking metadata is available.

Result using the actual canonicalizer extracted locally from this installed Desktop build:

claude-opus-4-8-p06q[1m]     -> claude-opus-4-8-p06q  (no canonical effort entry)
claude-opus-4-8-20260831[1m] -> claude-opus-4-8       (canonical effort entry exists)

Screenshots and supporting files

Local workaround applied, with backups:

  1. Render the existing persisted date alias (assignment.alias) into the static profile instead of converting it to the non-date wire ID.
  2. Register the previous desktopProfileWireAlias(assignment.alias) as a compatibility alias, so existing sessions retain the same route after a service restart.
  3. Update the applied static profile's 11 model names to those date aliases. Keep labels, family assignments, defaults and context flags unchanged.

Local verification passed:

  • 11 date aliases resolve to their original routes.
  • All 11 previous wire aliases remain resolvable in the patched registry.
  • The actual installed Desktop canonicalizer recognizes all 11 date aliases, including [1m] variants.
  • Incoming thinking: {type: "adaptive"} plus output_config.effort preserves low, medium, high, xhigh, and max through anthropicToResponsesBody().

These checks verify registry/canonicalization/translation behavior. They do not establish that every upstream model accepts all five levels, and no paid inference requests were made. The post-workaround UI still requires confirmation after restarting Desktop.

Redacted configuration

Minimal illustrative static entry, omitting all credentials:

{
  "inferenceProvider": "gateway",
  "modelDiscoveryEnabled": false,
  "inferenceModels": [
    {
      "name": "claude-opus-4-8-p06q",
      "labelOverride": "Ark Code Latest (volcengine-agent-plan)",
      "anthropicFamilyTier": "opus",
      "isFamilyDefault": true,
      "supports1m": true,
      "prefer1m": true
    }
  ]
}

Persisted alias for this example: claudeCode.desktopProfile.assignments["volcengine-agent-plan/ark-code-latest"].alias = "claude-opus-4-8-20260831".

Suggested fix and acceptance criteria

Short term: restore aliases that the supported Desktop build can resolve for static profiles, retain previous aliases as decode-only compatibility mappings, and verify the UI on that Desktop build. Date aliases are a tested normalization workaround, not a complete capability solution: genuine Anthropic ID collisions and shared canonical model settings must be considered.

Long term: deliver per-route, authoritative effort capabilities through a metadata/discovery path that Desktop's Code tab demonstrably consumes. Avoid using the Opus fallback as the source of truth for arbitrary providers. Do not assume that switching to hybrid or discovery-only fixes this version; verify the actual client path, including precedence between the pinned list and discovery.

Regression coverage should check:

  • Effort control appears for a routed model with a supported ladder in the default gateway configuration.
  • Models without effort support have no effort control; narrower ladders do not gain unsupported levels.
  • Old wire IDs, date aliases, [1m] variants and genuine Anthropic models keep their intended routes.
  • Labels, family defaults and context options survive reapply/restart without losing effort metadata.
  • A real Desktop smoke test confirms that changing effort produces the intended output_config.effort and downstream mapped level.

Checks

Activity

  1. added
    bug
    catalog
    on Oct 12, 2026
  2. Ingwannu commented on Oct 12, 2026

    @Ingwannu
    Owner

    The current compatibility proposal is #7007; it remains Draft and is not a landed fix. I reviewed exact head 373abb1 and requested a cold-native defaultModel identity correction in review 5497050179.

    Your acceptance criteria correctly distinguish an appearing effort menu from authoritative per-route capabilities. The Fable fallback proposal explicitly may expose levels outside a provider's ladder and may change client defaults, so its UI/menu, emitted effort and distinct model-switch behavior still need owner/reporter acceptance on the supported Desktop build. The previous date-alias workaround is not that receipt. No live patch, restart or provider request was made in this pass; leaving this issue open.

  3. lidge-jun commented on Oct 13, 2026

    @lidge-jun
    Owner

    Fixed by #7007, squash-merged into dev as 9c36822 (not yet released). Desktop profiles now use distinct claude-fable-5-pXXX wire IDs, which Desktop 2.31226 effort fallback recognizes; previous Opus/date aliases remain decode-only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcatalog

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions