Skip to content

Commit 048f498

Browse files
Pysephclaude
andcommitted
feat(web,mobile): drop the repeated "Claude" from model names beside its icon
The Claude catalog now gives each model a shortName ("Opus 5.5"), and the web picker rows and mobile picker/composer show it, since the provider icon already says Claude. Full names stay wherever no icon is shown and in accessibility labels and search. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent d145077 commit 048f498

7 files changed

Lines changed: 23 additions & 18 deletions

File tree

‎apps/mobile/src/components/ComposerModelControl.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export function ComposerModelControl(props: {
7070
/>
7171
)
7272
}
73-
label={label}
73+
label={props.modelOption?.shortLabel ?? label}
7474
iconOnly={props.iconOnly}
7575
suffix={
7676
summary ? (

‎apps/mobile/src/features/threads/ThreadSettingsRows.shared.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export function ModelRowContent(
6767
className="min-w-0 shrink text-base font-t3-medium text-foreground"
6868
numberOfLines={props.labelNumberOfLines}
6969
>
70-
{props.option.label}
70+
{props.option.shortLabel}
7171
</Text>
7272
{props.option.isDefault ? (
7373
<View className="rounded-md bg-subtle-strong px-1.5 py-0.5">

‎apps/mobile/src/features/threads/thread-settings-sheet-state.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ function modelOption(
2020
return {
2121
key: `codex:${model}`,
2222
label: model,
23+
shortLabel: model,
2324
subtitle: "",
2425
providerKey: "codex",
2526
providerLabel: "Codex",

‎apps/mobile/src/lib/modelOptions.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ import {
2020
export type ModelOption = {
2121
readonly key: string;
2222
readonly label: string;
23+
/** Shown beside the provider's icon, where the provider's own brand would repeat it. */
24+
readonly shortLabel: string;
2325
readonly subtitle: string;
2426
readonly providerKey: string;
2527
readonly providerLabel: string;
@@ -322,6 +324,7 @@ export function buildModelOptions(
322324
options.set(key, {
323325
key,
324326
label: model.name,
327+
shortLabel: model.shortName ?? model.name,
325328
subtitle: model.subProvider ?? "",
326329
providerKey: provider.instanceId,
327330
providerLabel,
@@ -387,6 +390,7 @@ export function buildModelOptions(
387390
options.set(key, {
388391
key,
389392
label: model?.name ?? fallbackModelSelection.model,
393+
shortLabel: model?.shortName ?? model?.name ?? fallbackModelSelection.model,
390394
subtitle: model?.subProvider ?? "",
391395
providerKey: fallbackModelSelection.instanceId,
392396
providerLabel,

‎apps/server/src/provider/model-manifest.json‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"version": 1,
3-
"updatedAt": "2026-10-26T20:00:36Z",
3+
"updatedAt": "2026-10-27T12:00:00Z",
44
"compatibility": [
55
{
66
"driver": "codex",
@@ -678,6 +678,7 @@
678678
{
679679
"slug": "claude-opus-5-5",
680680
"name": "Claude Opus 5.5",
681+
"shortName": "Opus 5.5",
681682
"aliases": ["opus", "opus-5.5", "claude-opus-5.5"],
682683
"status": "current",
683684
"profile": "opus-5-5",
@@ -686,6 +687,7 @@
686687
{
687688
"slug": "claude-sonnet-5-5",
688689
"name": "Claude Sonnet 5.5",
690+
"shortName": "Sonnet 5.5",
689691
"aliases": ["sonnet", "sonnet-5.5", "claude-sonnet-5.5"],
690692
"status": "current",
691693
"profile": "sonnet-5",
@@ -694,6 +696,7 @@
694696
{
695697
"slug": "claude-fable-5-1",
696698
"name": "Claude Fable 5.1",
699+
"shortName": "Fable 5.1",
697700
"aliases": ["fable", "fable-5.1", "claude-fable-5.1"],
698701
"status": "current",
699702
"profile": "fable-5",
@@ -706,6 +709,7 @@
706709
{
707710
"slug": "claude-fable-5",
708711
"name": "Claude Fable 5",
712+
"shortName": "Fable 5",
709713
"status": "legacy",
710714
"profile": "fable-5",
711715
"adapter": {
@@ -717,6 +721,7 @@
717721
{
718722
"slug": "claude-opus-5",
719723
"name": "Claude Opus 5",
724+
"shortName": "Opus 5",
720725
"aliases": ["opus-5", "claude-opus-5.0", "claude-opus-5-0"],
721726
"status": "legacy",
722727
"profile": "opus-5",
@@ -729,6 +734,7 @@
729734
{
730735
"slug": "claude-opus-4-8",
731736
"name": "Claude Opus 4.8",
737+
"shortName": "Opus 4.8",
732738
"aliases": ["opus-4.8", "claude-opus-4.8"],
733739
"status": "legacy",
734740
"profile": "opus-4-8",
@@ -741,6 +747,7 @@
741747
{
742748
"slug": "claude-opus-4-7",
743749
"name": "Claude Opus 4.7",
750+
"shortName": "Opus 4.7",
744751
"aliases": ["opus-4.7", "claude-opus-4.7"],
745752
"status": "legacy",
746753
"profile": "opus-4-7",
@@ -753,33 +760,38 @@
753760
{
754761
"slug": "claude-opus-4-6",
755762
"name": "Claude Opus 4.6",
763+
"shortName": "Opus 4.6",
756764
"aliases": ["opus-4.6", "claude-opus-4.6", "claude-opus-4-6-20251117"],
757765
"status": "legacy",
758766
"profile": "opus-4-6"
759767
},
760768
{
761769
"slug": "claude-opus-4-5",
762770
"name": "Claude Opus 4.5",
771+
"shortName": "Opus 4.5",
763772
"status": "legacy",
764773
"profile": "opus-4-5"
765774
},
766775
{
767776
"slug": "claude-sonnet-5",
768777
"name": "Claude Sonnet 5",
778+
"shortName": "Sonnet 5",
769779
"aliases": ["sonnet-5", "claude-sonnet-5.0", "claude-sonnet-5-0"],
770780
"status": "legacy",
771781
"profile": "sonnet-5"
772782
},
773783
{
774784
"slug": "claude-sonnet-4-6",
775785
"name": "Claude Sonnet 4.6",
786+
"shortName": "Sonnet 4.6",
776787
"aliases": ["sonnet-4.6", "claude-sonnet-4.6", "claude-sonnet-4-6-20251117"],
777788
"status": "legacy",
778789
"profile": "sonnet-4-6"
779790
},
780791
{
781792
"slug": "claude-haiku-5-5",
782793
"name": "Claude Haiku 5.5",
794+
"shortName": "Haiku 5.5",
783795
"aliases": ["haiku", "haiku-5.5", "claude-haiku-5.5"],
784796
"status": "current",
785797
"releasedAt": "2026-10-07",
@@ -789,6 +801,7 @@
789801
{
790802
"slug": "claude-haiku-4-5",
791803
"name": "Claude Haiku 4.5",
804+
"shortName": "Haiku 4.5",
792805
"aliases": ["haiku-4.5", "claude-haiku-4.5", "claude-haiku-4-5-20251001"],
793806
"status": "legacy",
794807
"profile": "haiku-4-5"

‎apps/web/src/components/chat/ModelListRow.tsx‎

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
import { type ProviderDriverKind, type ProviderInstanceId } from "@t3tools/contracts";
22
import { memo } from "react";
33
import { CheckIcon, StarIcon } from "lucide-react";
4-
import {
5-
getDisplayModelName,
6-
getProviderRowLabel,
7-
getTriggerDisplayModelLabel,
8-
} from "./providerIconUtils";
4+
import { getProviderRowLabel, getTriggerDisplayModelName } from "./providerIconUtils";
95
import { ComboboxItem } from "../ui/combobox";
106
import { Button } from "../ui/button";
117
import { Badge } from "../ui/badge";
@@ -31,8 +27,6 @@ export const ModelListRow = memo(function ModelListRow(props: {
3127
isSelected: boolean;
3228
showSelection?: boolean;
3329
showProvider: boolean;
34-
preferShortName?: boolean;
35-
useTriggerLabel?: boolean;
3630
showNewBadge?: boolean;
3731
unavailable?: boolean;
3832
jumpLabel?: string | null;
@@ -62,12 +56,7 @@ export const ModelListRow = memo(function ModelListRow(props: {
6256
<div className="min-w-0 flex-1 text-left">
6357
<div className="flex min-w-0 items-center gap-2">
6458
<div className="min-w-0 truncate text-xs font-medium leading-snug redesign:text-sm redesign:font-normal">
65-
{props.useTriggerLabel
66-
? getTriggerDisplayModelLabel(model)
67-
: getDisplayModelName(
68-
model,
69-
props.preferShortName ? { preferShortName: true } : undefined,
70-
)}
59+
{getTriggerDisplayModelName(model)}
7160
</div>
7261
{props.showNewBadge ? (
7362
<span

‎apps/web/src/components/chat/ModelPickerContent.tsx‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,8 +1021,6 @@ export const ModelPickerContent = memo(function ModelPickerContent(props: {
10211021
}
10221022
showSelection={selectedModelKeys !== undefined || redesign}
10231023
showProvider={rowsMixProviders || Boolean(model.subProvider)}
1024-
preferShortName={!isLocked}
1025-
useTriggerLabel={false}
10261024
showNewBadge={model.badge === "new"}
10271025
unavailable={model.isUnavailable === true}
10281026
jumpLabel={modelJumpLabelByKey.get(modelKey) ?? null}

0 commit comments

Comments
 (0)