mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Adding More Ai Quota Tiers (#32128)
* feat: adding tiers for free and standard * feat: updating feature calculation to account for more quota tiers * feat: rename freeTrialQuota to freeQuota * feat: add hasAiFreeTier and hasUnlimitedAi to editor, block free tier from using workbench * fix: updating tests * fix: updating ordering precedence for quota tiers * feat: bump unlimited ai fair usage to 300 uses * fix: update workbench quota usage for unlimited plans * feat: bump features version for ai quota split * feat: popover should only show for relevant users on workbench, and adding upgrade notification to ineligible users GitOrigin-RevId: e3ef38797f267677cad51d7273272623027ca330
This commit is contained in:
committed by
Copybot
parent
e4e4193d55
commit
c87fd5c42e
@@ -425,10 +425,21 @@ module.exports = {
|
||||
},
|
||||
|
||||
aiFeatures: {
|
||||
freeTrialQuota: 'basic',
|
||||
freeQuota: 'free',
|
||||
standardQuota: 'standard',
|
||||
basicQuota: 'basic',
|
||||
unlimitedQuota: 'unlimited',
|
||||
},
|
||||
|
||||
quotaGrants: {
|
||||
ai: {
|
||||
free: 0,
|
||||
basic: 0,
|
||||
standard: 0,
|
||||
unlimited: 0,
|
||||
},
|
||||
},
|
||||
|
||||
groupPlanModalOptions: {
|
||||
plan_codes: [],
|
||||
currencies: [],
|
||||
|
||||
Reference in New Issue
Block a user