This commit is contained in:
decolua
2026-06-15 18:18:04 +07:00
parent 8ab5af0052
commit b282f05549
66 changed files with 2328 additions and 213 deletions

View File

@@ -38,3 +38,10 @@ export const AI_MODELS = Object.entries(MODELS).flatMap(([alias, models]) =>
);
export const getModelKind = (m, fallback = null) => m?.kind || m?.type || fallback;
// Capacity metadata for UI badges — icon + label + color per capability.
export const CAPACITY_META = {
vision: { icon: "visibility", label: "Vision", desc: "Supports image input", color: "text-blue-500" },
// search: temporarily hidden (feature not wired yet)
reasoning: { icon: "neurology", label: "Reasoning", desc: "Supports reasoning / thinking", color: "text-amber-500" },
};