fix(ollama): map free-plan monthly window and derive reset from signup date

This commit is contained in:
X-Adam
2026-09-19 09:51:13 +07:00
parent a8c9d3802c
commit 73e021b8a0
3 changed files with 163 additions and 16 deletions
@@ -632,7 +632,7 @@ export function parseQuotaData(provider, data) {
break;
case "ollama":
// Session (5h) / Weekly (7d) usage % from ollama.com/api/usage.
// Session (5h) / Weekly (7d) / Monthly usage % from ollama.com/api/usage.
// remainingPercentage only — no absolute remaining (UI treats remaining as %).
if (data.quotas) {
Object.entries(data.quotas).forEach(([name, quota]) => {