in dell_ai/cli/main.py [0:0]
def models_list() -> None:
"""
List all available models from the Dell Enterprise Hub.
Returns a JSON array of model IDs in the format "organization/model_name".
"""
try:
client = get_client()
models = client.list_models()
print_json(models)
except Exception as e:
print_error(f"Failed to list models: {str(e)}")