decord/alpha/source/modules/vibegrations/lib/VibegrationsModelLabels.tsx

50 lines
1.5 KiB
TypeScript
Raw Normal View History

2026-10-03 08:58:59 +00:00
// Module ID: 16554
// Function ID: 16555
// Name: VibegrationsModelLabels
2026-10-03 08:58:59 +00:00
// Dependencies: [3723, 1126, 2]
// Exports: modelTierMessage, tierTooltip
2026-08-24 06:08:38 +00:00
2026-10-03 08:58:59 +00:00
// Module 16554 (VibegrationsModelLabels)
import intl2 from "intl" /* 1126 */;
import _modDef3723 from "module_3723" /* 3723 */;
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
const result = size.fileFinishedImporting("modules/vibegrations/lib/VibegrationsModelLabels.tsx");
2026-08-24 06:08:38 +00:00
export const modelTierMessage = function modelTierMessage(value) {
if ("simple" === value) {
2026-10-03 08:58:59 +00:00
return _modDef3723["5DOL2g"];
} else if ("balanced" === value) {
2026-10-03 08:58:59 +00:00
return _modDef3723["5I6PKl"];
} else if ("complex" === value) {
2026-10-03 08:58:59 +00:00
return _modDef3723.OJIfkn;
} else {
return null;
}
};
export const tierTooltip = function tierTooltip(title, arg1) {
2026-10-03 08:58:59 +00:00
let intl;
let obj;
let v5DOL2g;
if ("simple" === arg1) {
2026-10-03 08:58:59 +00:00
v5DOL2g = _modDef3723["5DOL2g"];
} else if ("balanced" === arg1) {
2026-10-03 08:58:59 +00:00
v5DOL2g = _modDef3723["5I6PKl"];
} else {
v5DOL2g = null;
if ("complex" === arg1) {
2026-10-03 08:58:59 +00:00
v5DOL2g = _modDef3723.OJIfkn;
}
}
if (null != v5DOL2g) {
2026-10-03 08:58:59 +00:00
const obj2 = { title, body: intl.string(v5DOL2g) };
intl = intl2.intl;
obj = obj2;
} else {
obj = { body: title };
}
return obj;
};
2026-08-24 06:08:38 +00:00
export const THINKING_LABELS = { low: "Low", medium: "Medium", high: "High", xhigh: "Extra high", max: "Max" };
export const PROVIDER_LABELS = { anthropic: "Anthropic", openai: "OpenAI", deepseek: "DeepSeek", xai: "xAI", moonshotai: "Moonshot AI" };