add mode to stats

This commit is contained in:
Cyberes 2023-08-22 16:41:55 -06:00
parent bd85b2a4f9
commit d8d5514aea
1 changed files with 1 additions and 0 deletions

View File

@ -30,5 +30,6 @@ def get_stats():
'total_proompts': stats.proompts.value, 'total_proompts': stats.proompts.value,
'uptime': int((datetime.now() - stats.start_time).total_seconds()), 'uptime': int((datetime.now() - stats.start_time).total_seconds()),
'online': online, 'online': online,
'mode': opts.mode,
'timestamp': int(time.time()) 'timestamp': int(time.time())
}), 200 }), 200