feat: add Ollama Cloud quota provider (#544)

* feat: add Ollama Cloud quota provider

Adds ollama-cloud quota provider that reads auth cookie from
~/.config/ollama-quota/cookie and fetches usage from ollama.com/settings.
Returns 3 windows: session, weekly, and premium (X/Y). Reuses Ollama
logo via provider alias.

* docs(quota): add ollama-cloud provider entry to DOCUMENTATION.md
This commit is contained in:
Henry Moran
2026-02-28 01:38:28 +02:00
committed by GitHub
parent 2fb0aa9c96
commit 654d49067f
8 changed files with 128 additions and 2 deletions
+1
View File
@@ -22,6 +22,7 @@ const LOGO_ALIAS = new Map<string, string>([
['gemini', 'google'],
['evroc-ai', 'evroc'],
['evrocai', 'evroc'],
['ollama-cloud', 'ollama'],
]);
const normalizeProviderId = (providerId: string | null | undefined) => {