show online status on stats page

This commit is contained in:
Cyberes 2023-10-03 23:39:25 -06:00
parent 1a7f22ec55
commit 6dc3529190
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ def generate_stats(regen: bool = False):
'anthropicKeys': '',
},
'backends': {},
'online': len(model_choices) > 0
}
# TODO: have get_model_choices() return all the info so we don't have to loop over the backends ourself