SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.
JavaScript a2aagentic-aiai-agentsdevtoolsmcp-clientn8n-alternativeno-codeopen-sourceorchestrationsmythosvisual-builder
show custom models after enterprise models
Forhad Hosain6da7e83e1836
diff --git a/packages/app/src/builder-ui/ui/badges.ts b/packages/app/src/builder-ui/ui/badges.tsindex 80ef7121..581a3863 100644--- a/packages/app/src/builder-ui/ui/badges.ts+++ b/packages/app/src/builder-ui/ui/badges.ts@@ -42,7 +42,8 @@ export type ModelStatus =| 'smythos'| 'stable'| 'personal'- | 'enterprise';+ | 'enterprise'+ | 'custom';type BadgeConfig = {readonly label: string;@@ -121,6 +122,11 @@ const statusBadgeConfigs: Record<ModelStatus, BadgeConfig> = {icon: '',classes: 'bg-[#F1C5FF] text-[#772590] border-0',},+ custom: {+ label: 'Custom',+ icon: '',+ classes: 'bg-[#BFECE8] text-[#0F5257] border-0',+ },} as const;const capabilityBadgeConfigs: Record<FeatureType, BadgeConfig> = {diff --git a/packages/app/src/shared/services/LLMRegistry.service.ts b/packages/app/src/shared/services/LLMRegistry.service.tsindex be129ffe..4f17891e 100644--- a/packages/app/src/shared/services/LLMRegistry.service.ts+++ b/packages/app/src/shared/services/LLMRegistry.service.ts@@ -7,6 +7,7 @@ import { LLMModel } from '../types';export class LLMRegistry {private static readonly MODELS_ORDER_BY_TAG = ['enterprise',+ 'custom','personal','smythos','default', // Added default tag for models with no special tags@@ -158,7 +159,7 @@ export class LLMRegistry {* Sorts an array of LLM models based on their tags and provider.* Models are grouped first by tag priority, then by provider order within each tag group.* Provider order: OpenAI, Anthropic, GoogleAI, Perplexity, TogetherAI, Others- * Tag order: Enterprise, Personal, SmythOS, Default, then Legacy/Deprecated/Removed at the end+ * Tag order: Enterprise, Custom, Personal, SmythOS, Default, then Legacy/Deprecated/Removed at the end** @param models - Array of LLMModel objects to sort* @returns New sorted array of models grouped by tags and sorted by provider (does not mutate the original array)