refactor(search-space-settings, model-selector): replace CircleUser icon with Settings in search space settings and comment out max_input_tokens display in model selector

This commit is contained in:
Anish Sarkar 2026-06-13 18:44:06 +05:30
parent 212c8af682
commit 02b5e758ed
2 changed files with 4 additions and 4 deletions

View file

@ -2,9 +2,9 @@
import {
BookText,
CircleUser,
Cpu,
Earth,
Settings,
UserKey,
} from "lucide-react";
import Link from "next/link";
@ -49,7 +49,7 @@ export function SearchSpaceSettingsLayoutShell({
{
value: "general" as const,
label: t("nav_general"),
icon: <CircleUser className="h-4 w-4" />,
icon: <Settings className="h-4 w-4" />,
},
{
value: "models" as const,

View file

@ -191,11 +191,11 @@ export function ModelSelector({
{getProviderIcon(model.provider, { className: "size-4 shrink-0" })}
<span className="truncate">{modelName(model)}</span>
</div>
{model.max_input_tokens ? (
{/* {model.max_input_tokens ? (
<div className="text-xs text-muted-foreground">
{model.max_input_tokens.toLocaleString()} context
</div>
) : null}
) : null} */}
</div>
<div className="ml-3 flex shrink-0 items-center gap-2">
{isFreeGlobalModel(model) ? (