fix ppq models matching incorrectly

This commit is contained in:
Shroominic
2025-12-09 13:50:32 +08:00
parent d6648d3337
commit fd5ec01a99
+3 -1
View File
@@ -131,7 +131,9 @@ class PPQAIUpstreamProvider(BaseUpstreamProvider):
(
model
for model in or_models
if model.id == ppqai_model.id
if (model.id == ppqai_model.id)
or (model.id.split("/")[-1] == ppqai_model.id)
or (model.id == ppqai_model.id.split("/")[-1])
),
None,
)