From e90ba31784a4a9bdaa8f497a8704d98567f17fd8 Mon Sep 17 00:00:00 2001 From: Will Miao <13051207myq@gmail.com> Date: Thu, 28 Aug 2025 15:21:04 +0800 Subject: [PATCH] feat: Update filter_civitai_data to include 'id' and 'modelId' fields for improved data retrieval --- py/utils/routes_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/utils/routes_common.py b/py/utils/routes_common.py index 8898ed58..3217cf2f 100644 --- a/py/utils/routes_common.py +++ b/py/utils/routes_common.py @@ -234,7 +234,7 @@ class ModelRouteUtils: if not data: return {} - fields = ["name", "trainedWords"] if minimal else [ + fields = ["id", "modelId", "name", "trainedWords"] if minimal else [ "id", "modelId", "name", "createdAt", "updatedAt", "publishedAt", "trainedWords", "baseModel", "description", "model", "images", "customImages", "creator"