Files
member-portal/CloudronManifest.json
T
inference-bot 7d2507a927 portal: 90% threshold for budget notices; sweep 3x a day
Trigger becomes proportional (90% of the balance used) instead of a $2 floor, so a member on $15 and one on $35 are treated the same. The once-per-crossing latch keys on the same fraction. membership_sweep moves from '0 3 * * *' to '0 3,11,19 * * *' so the notice arrives within hours of crossing rather than up to a day later. BUDGET_NOTICES remains off.
2026-10-31 16:49:22 +00:00

36 lines
978 B
JSON

{
"id": "coop.inference.member-portal",
"title": "Member Portal",
"author": "Inference Cooperative",
"description": "Membership middleware: syncs Open Collective members with Cloudron users and LiteLLM keys, and injects per-member keys into inference requests.",
"version": "0.1.0",
"healthCheckPath": "/health",
"httpPort": 8000,
"addons": {
"localstorage": {},
"oidc": {
"loginRedirectUri": "/",
"logoutRedirectUri": "/"
},
"sendmail": {},
"scheduler": {
"membership_sweep": {
"schedule": "0 3,11,19 * * *",
"command": "/app/code/sweep.sh"
},
"rag_refresh": {
"schedule": "30 3 * * *",
"command": "/app/code/rag_refresh.py"
},
"metrics_snapshot": {
"schedule": "15 3 * * *",
"command": "/app/code/metrics_snapshot.py"
}
}
},
"manifestVersion": 2,
"website": "https://inference.coop",
"contactEmail": "info@inference.coop",
"dockerImage": "registry.inference.coop/co-op/member-portal:20261031-d5fbb2e"
}