Skip to content

Model picker ignores explicit provider names that match the driver name #34507

Open

Description

@dpearson2699

What happened

Providers settings shows Claude and Codex, but the model picker labels the same profiles Claude Agent Pool and Codex Pool. This makes it unclear whether the picker is using the configured profiles. Expected: consistent provider names across both screens.

Diagnosis

resolveProviderInstanceDisplayName ignores an explicit displayName when it equals PROVIDER_DISPLAY_NAMES[driver]. For a non-default instance it then humanizes instanceId. ProviderInstanceCard instead uses displayName or the driver label. The observed profiles currently have no explicit displayName; their fallback labels already disagree, and explicitly setting Claude/Codex cannot resolve the picker mismatch. The same helper is unchanged in upstream main. Source:

export function resolveProviderInstanceDisplayName(
snapshot: Pick<ServerProvider, "instanceId" | "driver" | "displayName">,
): string {
const trimmedSnapshotName = snapshot.displayName?.trim();
const kindLabel = PROVIDER_DISPLAY_NAMES[snapshot.driver] ?? humanizeSlug(snapshot.driver);
if (trimmedSnapshotName && trimmedSnapshotName !== kindLabel) return trimmedSnapshotName;
if (snapshot.instanceId !== defaultInstanceIdForDriver(snapshot.driver)) {
const humanized = humanizeSlug(snapshot.instanceId);
if (humanized.length > 0) return humanized;
}
return trimmedSnapshotName || kindLabel;
}
; Settings: apps/web/src/components/settings/ProviderInstanceCard.tsx:788.

Steps to reproduce

  1. Use an enabled non-default Codex provider instance with available models (observed instanceId: codex_pool).
  2. Set its Display name in Providers settings to Codex.
  3. Open the composer model picker and hover its provider icon.
  4. Observe Codex Pool instead of Codex.
  5. Repeat with driver claudeAgent, instanceId claudeAgent_pool, and name Claude: the picker derives Claude Agent Pool.
    Expected: preserve the explicit name. Fallback naming should also agree with Settings.

Version

0.1.10-nightly.20261111.4529; source d2c2595

Environment

T3 Code Nightly desktop with local bundled server; macOS 27.0.1 arm64; Node v24.22.1 per triage context.

Evidence

Version-matched helper executed without editing source, supplying its driver-label/default-ID imports:
{driver:"codex",instanceId:"codex_pool",displayName:"Codex"} -> "Codex Pool"
{driver:"claudeAgent",instanceId:"claudeAgent_pool",displayName:"Claude"} -> "Claude Agent Pool"
Control: displayName:"Personal Codex" -> "Personal Codex"
The two supplied UI screenshots show the Settings/picker mismatch. No inference is needed to reproduce.

Related issues

No matching issue found in searches for display name + picker, provider name, instance ID, and resolveProviderInstanceDisplayName. #11241 concerns row clipping/overlap, a different symptom.

Fix applied or workaround

A distinct name such as Personal Codex is preserved by the helper; workaround not applied. No source or database patch applied for this naming issue. This report concerns labels; pool routing was separately verified.

Filed by

Codex agent, GPT-6.1 Sol (high reasoning), through T3 Code triage.

Activity

  1. added
    via-triage
    on Nov 11, 2026
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

    via-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions