feat: support configurable explore app categories (#35723)

This commit is contained in:
非法操作
2026-05-08 06:04:07 +00:00
committed by GitHub
parent 29f34848cd
commit 927a17804b
26 changed files with 270 additions and 70 deletions
@@ -126,7 +126,7 @@ class TestRecommendedAppResponseModels:
},
"app_id": "app-1",
"description": "desc",
"category": "cat",
"categories": ["cat", "other"],
"position": 1,
"is_listed": True,
"can_trial": False,
@@ -137,4 +137,5 @@ class TestRecommendedAppResponseModels:
).model_dump(mode="json")
assert response["recommended_apps"][0]["app_id"] == "app-1"
assert response["recommended_apps"][0]["categories"] == ["cat", "other"]
assert response["categories"] == ["cat"]