diff --git a/prototype/src/views/AdminConsole.vue b/prototype/src/views/AdminConsole.vue index c134f00..57b628c 100644 --- a/prototype/src/views/AdminConsole.vue +++ b/prototype/src/views/AdminConsole.vue @@ -47,6 +47,7 @@ const providers = ref([]) const models = ref([]) const publicModelCount = ref(0) const publicRouteCount = ref(0) +const unpricedRouteCount = ref(0) const adminSummary = ref(null) const catalogConnected = ref(false) const auditQuery = ref('') @@ -85,6 +86,7 @@ async function refreshOverviewData(notifyOnSuccess = false) { const publishedRoutes = modelResult.models.filter((item) => item.status === 'active' && activeProviders.has(item.providerId) && activeDefinitions.has(item.logicalModelId) && item.pricingConfigured && item.executionReady !== false) publicRouteCount.value = publishedRoutes.length publicModelCount.value = new Set(publishedRoutes.map((item) => item.logicalModelId)).size + unpricedRouteCount.value = modelResult.models.filter((item) => item.status === 'active' && activeProviders.has(item.providerId) && activeDefinitions.has(item.logicalModelId) && !item.pricingConfigured).length adminSummary.value = summaryResult users.value = userResult.users.map(mapUser) auditEvents.value = auditResult.events.map(mapAudit) @@ -270,7 +272,7 @@ function mapModels(items: CatalogModel[], providersList: CatalogProvider[]): Mod