fix: 图片模型多图支持、重置错误计数

feat: 账号类型分配模型配额
Fixes #5,#7
This commit is contained in:
TheSmallHanCat
2025-12-01 19:12:46 +08:00
parent 29f247e108
commit fcd61c692a
6 changed files with 36 additions and 20 deletions

View File

@@ -499,7 +499,7 @@ async def get_stats(token: str = Depends(verify_admin_token)):
if stats:
total_images += stats.image_count
total_videos += stats.video_count
total_errors += stats.error_count
total_errors += stats.error_count # Historical total errors
today_images += stats.today_image_count
today_videos += stats.today_video_count
today_errors += stats.today_error_count