Skip to content

Commit c48c806

Browse files
committed
refactor(clients): drop the unused model chip accent
1 parent cdc88b8 commit c48c806

3 files changed

Lines changed: 1 addition & 4 deletions

File tree

‎apps/mobile/src/lib/composerChipPresentation.test.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ const CHIP_ACCENTS = [
2121
"review-comment",
2222
"pull-request",
2323
"skill",
24-
"model",
2524
"thread",
2625
"environment",
2726
].map((kind) => contextChipPresentation(kind)),

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ const CONTEXT_CHIP_PRESENTATIONS = {
3939
icon: "git-pull-request-arrow",
4040
},
4141
skill: { accent: "#b261be", icon: "skill" },
42-
model: { accent: "#928a07", icon: "bot" },
4342
thread: {
4443
accent: "#009c96",
4544
icon: "messages-square",

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,7 @@ export function ModelMentionChip(props: {
9999
const accent = logoAccent(presentation.driverKind);
100100
return (
101101
<ContextChipPopover
102-
// A black-and-white logo takes the text color, so its chip does too.
103-
kind={accent ? "model" : "neutral"}
102+
kind="neutral"
104103
accent={accent}
105104
icon={
106105
<ProviderInstanceIcon

0 commit comments

Comments
 (0)