Add check-in feature and update travel planner UI

This commit is contained in:
周瑞哲
2026-07-31 12:50:14 +08:00
parent ac4179086c
commit 3ef7266591
44 changed files with 2919 additions and 144 deletions
-2
View File
@@ -28,8 +28,6 @@ def _score(candidate: PoiCandidate, request: PlanRecommendationRequest) -> int:
for interest in request.preferences.interests:
desired_tags.update(INTEREST_TAGS.get(interest, set()))
score += len(desired_tags.intersection(candidate.tag_codes)) * 8
if request.preferences.children and "family_friendly" in candidate.tag_codes:
score += 8
return score