Skip to content

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): show an example base URL in the custom provider URL error (#1554) (#1653)

Tashfeenaf3709d60fcb
diff --git a/client/src/components/keys/custom-provider-section.tsx b/client/src/components/keys/custom-provider-section.tsx
index eedd166a..fc88f62e 100644
--- a/client/src/components/keys/custom-provider-section.tsx
+++ b/client/src/components/keys/custom-provider-section.tsx
@@ -56,7 +56,7 @@ export function CustomProviderSection({ onAdded }: { onAdded?: () => void } = {}
const baseUrlError = !baseUrl.trim()
? t('validation.required')
: !isHttpUrl(baseUrl)
- ? t('validation.url')
+ ? `${t('validation.url')} (http://localhost:8080/v1)`
: null
const modelError = models.length === 0 ? t('validation.required') : null