Repository navigation
Description
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:
t3code/packages/client-runtime/src/state/providerInstanceDisplay.ts
Lines 16 to 27 in d2c2595
| 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; | |
| } |
Steps to reproduce
- Use an enabled non-default Codex provider instance with available models (observed instanceId: codex_pool).
- Set its Display name in Providers settings to Codex.
- Open the composer model picker and hover its provider icon.
- Observe Codex Pool instead of Codex.
- 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