From d7c25aa97323cca6586ad6915e5241e1879bd48e Mon Sep 17 00:00:00 2001 From: fujie Date: Wed, 11 Feb 2026 13:50:42 +0800 Subject: [PATCH] fix: relax history requirements for chart generation --- scripts/openwebui_stats.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/openwebui_stats.py b/scripts/openwebui_stats.py index f930654..178fb11 100644 --- a/scripts/openwebui_stats.py +++ b/scripts/openwebui_stats.py @@ -1198,8 +1198,8 @@ class OpenWebUIStats: history = self.load_history() print(f"📊 History records loaded: {len(history)}") - if len(history) < 3: - print("⚠️ Skipping chart upload: not enough history (<3 records)") + if len(history) < 1: + print("⚠️ Skipping chart upload: no history") return # 准备数据点