Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5014.js (118.4 MB)
47 lines
1.5 KiB
TypeScript
47 lines
1.5 KiB
TypeScript
// Module ID: 17032
|
|
// Function ID: 17033
|
|
// Name: VibegrationsModelLabels
|
|
// Dependencies: [3714, 1115, 2]
|
|
// Exports: modelTierMessage, tierTooltip
|
|
|
|
// Module 17032 (VibegrationsModelLabels)
|
|
import util from "util" /* 1115 */;
|
|
import _modDef3714 from "module_3714" /* 3714 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const result = size.fileFinishedImporting("modules/vibegrations/lib/VibegrationsModelLabels.tsx");
|
|
|
|
export const modelTierMessage = function modelTierMessage(value) {
|
|
if ("simple" === value) {
|
|
return _modDef3714["5DOL2g"];
|
|
} else if ("balanced" === value) {
|
|
return _modDef3714["5I6PKl"];
|
|
} else if ("complex" === value) {
|
|
return _modDef3714.OJIfkn;
|
|
} else {
|
|
return null;
|
|
}
|
|
};
|
|
export const tierTooltip = function tierTooltip(title, arg1) {
|
|
if ("simple" === arg1) {
|
|
let v5DOL2g = _modDef3714["5DOL2g"];
|
|
} else if ("balanced" === arg1) {
|
|
v5DOL2g = _modDef3714["5I6PKl"];
|
|
} else {
|
|
v5DOL2g = null;
|
|
if ("complex" === arg1) {
|
|
v5DOL2g = _modDef3714.OJIfkn;
|
|
}
|
|
}
|
|
if (null != v5DOL2g) {
|
|
const obj2 = { title, body: null };
|
|
const intl = util.intl;
|
|
obj2.body = intl.string(v5DOL2g);
|
|
let obj = obj2;
|
|
} else {
|
|
obj = { body: title };
|
|
}
|
|
return obj;
|
|
};
|
|
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" };
|