UI: kritiker + reranker als erstklassige Rollen sichtbar
Die zwei neuen Rollen aus dem Rollen-Audit tauchen jetzt ueberall ordentlich auf statt als namenlose Eintraege: - ROLE_IDS (llamaswap + sources) um kritiker/reranker erweitert - roleMeta.ts: 'Kritiker' (Scale, cyan — die unbestechliche Zweitmeinung) + 'Gedaechtnis-Sortierer' (ListOrdered, lime — Feinsortierung hinter dem Gedaechtnis, direkt nach embed einsortiert) - werkbank/roleColors.ts: Speicherleisten-Farben passend dazu Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -23,7 +23,7 @@ log = logging.getLogger(__name__)
|
|||||||
# Kanonische Serving-Rollen — EINE Quelle der Wahrheit (identisch zu sources.ROLE_IDS,
|
# Kanonische Serving-Rollen — EINE Quelle der Wahrheit (identisch zu sources.ROLE_IDS,
|
||||||
# maintenance, frontend ModelBadges.ROLES). `hermes` = Lucys Agent-Hirn (warm + ko-resident
|
# maintenance, frontend ModelBadges.ROLES). `hermes` = Lucys Agent-Hirn (warm + ko-resident
|
||||||
# in der `brains`-Gruppe); UI-Label „Hirn".
|
# in der `brains`-Gruppe); UI-Label „Hirn".
|
||||||
ROLE_IDS = {"fast", "heavy", "coder", "vision", "scout", "hermes"}
|
ROLE_IDS = {"fast", "heavy", "coder", "vision", "scout", "hermes", "kritiker", "reranker"}
|
||||||
|
|
||||||
_CTX_RE = re.compile(r"-(?:c|-ctx-size)\s+(\d+)")
|
_CTX_RE = re.compile(r"-(?:c|-ctx-size)\s+(\d+)")
|
||||||
_PATH_RE = re.compile(r"-(?:m|-model)\s+([^\s]+)")
|
_PATH_RE = re.compile(r"-(?:m|-model)\s+([^\s]+)")
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ TRUSTED_AUTHORS = ["unsloth", "bartowski", "ggml-org", "lmstudio-community"]
|
|||||||
# Kanonische Rollen — eine Quelle der Wahrheit (deckt sich mit llamaswap.ROLE_IDS,
|
# Kanonische Rollen — eine Quelle der Wahrheit (deckt sich mit llamaswap.ROLE_IDS,
|
||||||
# maintenance.ROLE_MAP, frontend ModelBadges.ROLES + Discover.ROLE_METADATA).
|
# maintenance.ROLE_MAP, frontend ModelBadges.ROLES + Discover.ROLE_METADATA).
|
||||||
# `hermes` = Lucys Agent-Hirn (warm + ko-resident); UI-Label „Hirn".
|
# `hermes` = Lucys Agent-Hirn (warm + ko-resident); UI-Label „Hirn".
|
||||||
ROLE_IDS = ["fast", "heavy", "coder", "vision", "hermes", "scout"]
|
ROLE_IDS = ["fast", "heavy", "coder", "vision", "hermes", "scout", "kritiker", "reranker"]
|
||||||
|
|
||||||
# Kategorien (Reihenfolge = Anzeige + Zuordnungs-Priorität). Ein Modell wird der
|
# Kategorien (Reihenfolge = Anzeige + Zuordnungs-Priorität). Ein Modell wird der
|
||||||
# ERSTEN Kategorie zugeordnet, deren Stichwort im Repo-Namen vorkommt; sonst „scout".
|
# ERSTEN Kategorie zugeordnet, deren Stichwort im Repo-Namen vorkommt; sonst „scout".
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+68
-58
File diff suppressed because one or more lines are too long
-1
File diff suppressed because one or more lines are too long
Vendored
+2
-2
@@ -7,8 +7,8 @@
|
|||||||
<link rel="manifest" href="/manifest.webmanifest" />
|
<link rel="manifest" href="/manifest.webmanifest" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||||
<title>Mission Control 2.0</title>
|
<title>Mission Control 2.0</title>
|
||||||
<script type="module" crossorigin src="/assets/index-mi_JbBP4.js"></script>
|
<script type="module" crossorigin src="/assets/index-DNxJlxWQ.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/index-DfNbRJ2k.css">
|
<link rel="stylesheet" crossorigin href="/assets/index-CMtwLeqK.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
|
|||||||
@@ -5,6 +5,8 @@ import {
|
|||||||
Eye,
|
Eye,
|
||||||
BookMarked,
|
BookMarked,
|
||||||
Telescope,
|
Telescope,
|
||||||
|
Scale,
|
||||||
|
ListOrdered,
|
||||||
type LucideIcon,
|
type LucideIcon,
|
||||||
} from "lucide-react"
|
} from "lucide-react"
|
||||||
|
|
||||||
@@ -48,6 +50,14 @@ export const ROLE_META: RoleMeta[] = [
|
|||||||
tone: "bg-emerald-500/15 text-emerald-400 border-emerald-500/25",
|
tone: "bg-emerald-500/15 text-emerald-400 border-emerald-500/25",
|
||||||
protected: true,
|
protected: true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
role: "reranker",
|
||||||
|
label: "Gedächtnis-Sortierer",
|
||||||
|
short: "Sortierer",
|
||||||
|
icon: ListOrdered,
|
||||||
|
desc: "Ordnet gefundene Erinnerungen nach echter Relevanz — die Feinsortierung hinter dem Gedächtnis.",
|
||||||
|
tone: "bg-lime-500/15 text-lime-400 border-lime-500/25",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
role: "vision",
|
role: "vision",
|
||||||
label: "Lucys Augen",
|
label: "Lucys Augen",
|
||||||
@@ -88,6 +98,14 @@ export const ROLE_META: RoleMeta[] = [
|
|||||||
desc: "Schneller erster Blick und grobe Einschätzung.",
|
desc: "Schneller erster Blick und grobe Einschätzung.",
|
||||||
tone: "bg-teal-500/15 text-teal-400 border-teal-500/25",
|
tone: "bg-teal-500/15 text-teal-400 border-teal-500/25",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
role: "kritiker",
|
||||||
|
label: "Kritiker",
|
||||||
|
short: "Kritiker",
|
||||||
|
icon: Scale,
|
||||||
|
desc: "Die unbestechliche Zweitmeinung — prüft Behauptungen und Patches (anderer Hersteller als das Hirn).",
|
||||||
|
tone: "bg-cyan-500/15 text-cyan-400 border-cyan-500/25",
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
// Kanonische Rollen-Reihenfolge (ersetzt die alte, veraltete ROLES-Liste).
|
// Kanonische Rollen-Reihenfolge (ersetzt die alte, veraltete ROLES-Liste).
|
||||||
|
|||||||
@@ -15,6 +15,8 @@ const BY_ROLE: Record<string, RoleBarColor> = {
|
|||||||
"coder-lite": { bar: "bg-violet-500", dot: "bg-violet-500", text: "text-violet-400" },
|
"coder-lite": { bar: "bg-violet-500", dot: "bg-violet-500", text: "text-violet-400" },
|
||||||
coder: { bar: "bg-fuchsia-500", dot: "bg-fuchsia-500", text: "text-fuchsia-400" },
|
coder: { bar: "bg-fuchsia-500", dot: "bg-fuchsia-500", text: "text-fuchsia-400" },
|
||||||
scout: { bar: "bg-teal-500", dot: "bg-teal-500", text: "text-teal-400" },
|
scout: { bar: "bg-teal-500", dot: "bg-teal-500", text: "text-teal-400" },
|
||||||
|
kritiker: { bar: "bg-cyan-500", dot: "bg-cyan-500", text: "text-cyan-400" },
|
||||||
|
reranker: { bar: "bg-lime-500", dot: "bg-lime-500", text: "text-lime-400" },
|
||||||
}
|
}
|
||||||
|
|
||||||
const ALIAS: Record<string, string> = { fast: "hermes", coder_lite: "coder-lite" }
|
const ALIAS: Record<string, string> = { fast: "hermes", coder_lite: "coder-lite" }
|
||||||
|
|||||||
Reference in New Issue
Block a user