You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: simplify tiered pricing to show only user's plan tier price (#578)
Instead of outputting verbose pricing breakdowns for all tiers (BRONZE,
SILVER, GOLD, PLATINUM, DIAMOND), resolve to a single price based on
the user's actual plan tier. Adds a short hint like "(your BRONZE plan
price)" in text output and a `resolvedForTier` field in structured output.
Changes:
- Add getUserPlanTierCached() in userid_cache.ts (separate cache)
- Add tier resolution helpers in pricing_info.ts
- Thread userTier through actor_card.ts and actor_details.ts format functions
- Update all 5 tool handlers to fetch and pass user tier
- Remove tieredPricing arrays from structured output schemas
- Add unit tests for pricing tier resolution
https://claude.ai/code/session_01RNnzsiNrtM3qJX9i1Kqfqy
@@ -47,7 +51,7 @@ You MUST retry with broader, more generic keywords - use just the platform name
47
51
IMPORTANT: You MUST always do a second search with broader, more generic keywords (e.g., just the platform name like "TikTok" instead of "TikTok posts") to make sure you haven't missed a better Actor.`,
0 commit comments