fix: relax history requirements for chart generation
This commit is contained in:
@@ -1198,8 +1198,8 @@ class OpenWebUIStats:
|
|||||||
history = self.load_history()
|
history = self.load_history()
|
||||||
print(f"📊 History records loaded: {len(history)}")
|
print(f"📊 History records loaded: {len(history)}")
|
||||||
|
|
||||||
if len(history) < 3:
|
if len(history) < 1:
|
||||||
print("⚠️ Skipping chart upload: not enough history (<3 records)")
|
print("⚠️ Skipping chart upload: no history")
|
||||||
return
|
return
|
||||||
|
|
||||||
# 准备数据点
|
# 准备数据点
|
||||||
|
|||||||
Reference in New Issue
Block a user