7.4 billion tokens per month. 34 free LLM providers. 635 free model endpoints. All behind one /v1 endpoint, plus any custom OpenAI-compatible endpoint. Smart routing, automatic failover, encrypted keys. Personal experimentation only.
TypeScript
fix(premium): refresh every model list after a license change (#1507)
Tashfeenbf1660454fd4
diff --git a/client/src/pages/PremiumPage.tsx b/client/src/pages/PremiumPage.tsxindex 5939568c..21e8bcda 100644--- a/client/src/pages/PremiumPage.tsx+++ b/client/src/pages/PremiumPage.tsx@@ -32,8 +32,11 @@ export default function PremiumPage() {const invalidate = () => {queryClient.invalidateQueries({ queryKey: ['premium'] })- // A sync may have changed the model list and quirks.- queryClient.invalidateQueries({ queryKey: ['models'] })+ // A sync may have changed every model list (chat, embeddings, media,+ // search) and quirks, not just ['models'].+ for (const queryKey of [['models'], ['fallback'], ['embeddings'], ['media'], ['search-engines']]) {+ queryClient.invalidateQueries({ queryKey })+ }}const activate = useMutation({