feat: add exclude scan model types (#92)

This commit is contained in:
Hayden
2025-01-13 15:15:32 +08:00
committed by GitHub
parent 14bb6f194d
commit 40a1a7f43a
6 changed files with 18 additions and 3 deletions

View File

@@ -130,7 +130,7 @@ async def list_model_types(request):
Scan all models and read their information.
"""
try:
result = utils.resolve_model_base_paths()
result = utils.resolve_model_base_paths(request)
return web.json_response({"success": True, "data": result})
except Exception as e:
error_msg = f"Read models failed: {str(e)}"