diff --git a/components/canvas/CanvasChatPanel.tsx b/components/canvas/CanvasChatPanel.tsx index 37eab07c2..950d2b828 100644 --- a/components/canvas/CanvasChatPanel.tsx +++ b/components/canvas/CanvasChatPanel.tsx @@ -2083,17 +2083,17 @@ export function CanvasChatPanel({ chatId, initialMessages = [], onClose, onOpenF {allModels.find(m => m.id === selectedModelId)?.displayName || "Agent模式"} - -
+ +
{allModels.map((model) => ( -
-
-
+ + + {model.avatarUrl ? ( {model.displayName} ) : ( @@ -2101,13 +2101,13 @@ export function CanvasChatPanel({ chatId, initialMessages = [], onClose, onOpenF {model.id === "auto" ? "A" : model.displayName.slice(0, 1)} )} -
- {model.displayName} -
+ + {model.displayName} + {selectedModelId === model.id ? ( ✓ ) : null} -
+
))}
diff --git a/components/home/lovart-home.tsx b/components/home/lovart-home.tsx index 17ac2248c..3a9567073 100644 --- a/components/home/lovart-home.tsx +++ b/components/home/lovart-home.tsx @@ -1336,17 +1336,17 @@ export function LovartHome({ - -
+ +
{[{ id: "auto", displayName: "Agent模式", avatarUrl: null }, ...imageModels].map((model) => ( -
-
-
+ + + {model.avatarUrl ? ( {model.displayName} ) : ( @@ -1354,13 +1354,13 @@ export function LovartHome({ {model.id === "auto" ? "A" : model.displayName.slice(0, 1)} )} -
- {model.displayName} -
+ + {model.displayName} + {(selectedModelId || "auto") === model.id ? ( ✓ ) : null} -
+
))}
diff --git a/components/multimodal-input.tsx b/components/multimodal-input.tsx index c0410c9c2..ce37a87df 100644 --- a/components/multimodal-input.tsx +++ b/components/multimodal-input.tsx @@ -1178,22 +1178,22 @@ function PureModelSelectorCompact({ - -
+ +
{displayModels.map((model) => ( span]:hidden", + "h-11 rounded-2xl px-3 text-[#2f3640] [&>span:first-child]:hidden", "focus:bg-[#dfe2e6] focus:text-[#1f2937]", "data-[state=checked]:bg-[#dfe2e6] data-[state=checked]:text-[#1f2937]", model.isSubModel ? "pl-8" : "" )} > -
-
-
+ + + {model.avatarUrl ? ( ) : ( -
+ {model.id === "auto" ? "A" : model.displayName.slice(0, 1)} -
+
)} -
-
+ + {model.isSubModel ? `└ ${model.displayName}` : model.displayName} -
-
+ + {selectedModel?.id === model.id ? ( ✓ ) : null} -
+
))}