add mode to stats
This commit is contained in:
parent
bd85b2a4f9
commit
d8d5514aea
|
@ -30,5 +30,6 @@ def get_stats():
|
|||
'total_proompts': stats.proompts.value,
|
||||
'uptime': int((datetime.now() - stats.start_time).total_seconds()),
|
||||
'online': online,
|
||||
'mode': opts.mode,
|
||||
'timestamp': int(time.time())
|
||||
}), 200
|
||||
|
|
Reference in New Issue