feat(kiwi): add LIFETIME_ORCH_CAPS and LIFETIME_SOURCES constants
This commit is contained in:
parent
1882116235
commit
fbae9ced72
1 changed files with 10 additions and 0 deletions
10
app/tiers.py
10
app/tiers.py
|
|
@ -19,6 +19,16 @@ KIWI_BYOK_UNLOCKABLE: frozenset[str] = frozenset({
|
||||||
"community_fork_adapt",
|
"community_fork_adapt",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
# Sources subject to monthly cf-orch call caps. Subscription-based sources are uncapped.
|
||||||
|
LIFETIME_SOURCES: frozenset[str] = frozenset({"lifetime", "founders"})
|
||||||
|
|
||||||
|
# (source, tier) → monthly cf-orch call allowance
|
||||||
|
LIFETIME_ORCH_CAPS: dict[tuple[str, str], int] = {
|
||||||
|
("lifetime", "paid"): 60,
|
||||||
|
("lifetime", "premium"): 180,
|
||||||
|
("founders", "premium"): 300,
|
||||||
|
}
|
||||||
|
|
||||||
# Feature → minimum tier required
|
# Feature → minimum tier required
|
||||||
KIWI_FEATURES: dict[str, str] = {
|
KIWI_FEATURES: dict[str, str] = {
|
||||||
# Free tier
|
# Free tier
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue