mirror of
http://88.130.71.182:3000/BlitTech/contexta_be.git
synced 2026-06-12 23:23:21 +00:00
updates Mar6
This commit is contained in:
@@ -91,12 +91,12 @@ async def get_available_models(user=Depends(get_current_user)):
|
||||
))
|
||||
|
||||
# Determine upgrade messaging
|
||||
has_premium = plan in ("pro", "enterprise")
|
||||
has_premium = plan in ("business", "agency", "enterprise")
|
||||
upgrade_label = None
|
||||
if plan == "free":
|
||||
upgrade_label = "Upgrade to Starter for more models and publishing"
|
||||
upgrade_label = "Upgrade to Starter for more AI models and messaging channels"
|
||||
elif plan == "starter":
|
||||
upgrade_label = "Upgrade to Pro for GPT-4o, Claude, Gemini"
|
||||
upgrade_label = "Upgrade to Business for GPT-4o, Claude, Gemini and WhatsApp"
|
||||
|
||||
return ModelsResponse(
|
||||
models=models,
|
||||
|
||||
Reference in New Issue
Block a user