Refactor
This commit is contained in:
@@ -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" },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user