only recommend models user can use

This commit is contained in:
LUIS NOVO 2024-11-13 17:22:01 -03:00
parent d20794e271
commit bba5bf88ed

View file

@ -80,6 +80,7 @@ def generate_new_models(models, suggested_models):
# Check if model already exists # Check if model already exists
if model_key not in existing_model_keys: if model_key not in existing_model_keys:
if provider_status.get(provider):
new_models.append( new_models.append(
{ {
"name": model_name, "name": model_name,