mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-16 21:05:20 +02:00
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:
parent
212c8af682
commit
02b5e758ed
2 changed files with 4 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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) ? (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue