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(client): type the proxy-settings mutation response (post-rebase tsc)
Tashfeen48107ad08bc0
diff --git a/client/src/pages/KeysPage.tsx b/client/src/pages/KeysPage.tsxindex ff6a1e56..4ceaed01 100644--- a/client/src/pages/KeysPage.tsx+++ b/client/src/pages/KeysPage.tsx@@ -189,7 +189,7 @@ function ProxySettingsSection() {const saveProxy = useMutation({mutationFn: (body: { proxyUrl?: string; enabled?: boolean; bypassPlatforms?: string[] }) =>- apiFetch('/api/settings/proxy', { method: 'PUT', body: JSON.stringify(body) }),+ apiFetch<{ proxyUrl: string; enabled: boolean; bypassPlatforms: string[]; active: boolean }>('/api/settings/proxy', { method: 'PUT', body: JSON.stringify(body) }),onSuccess: (result: { proxyUrl: string; enabled: boolean; bypassPlatforms: string[]; active: boolean }) => {queryClient.invalidateQueries({ queryKey: ['proxy-url'] })setProxyUrl(result.proxyUrl)