Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: vector_size convert bytes to MB. (#1684)
Garfield Dai1263b7de753f
diff --git a/api/services/billing_service.py b/api/services/billing_service.pyindex 10d991ad18a..ad8e3dd6e98 100644--- a/api/services/billing_service.py+++ b/api/services/billing_service.py@@ -14,8 +14,9 @@ class BillingService:billing_info = cls._send_request('GET', '/info', params=params)- vector_size = DatasetService.get_tenant_datasets_usage(tenant_id) / 1024- billing_info['vector_space']['size'] = int(vector_size)+ vector_size = DatasetService.get_tenant_datasets_usage(tenant_id)+ # Convert bytes to MB+ billing_info['vector_space']['size'] = int(vector_size / 1024 / 1024)return billing_info