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(playground): explain empty model list when no keys are configured (#269) (#302)

Tashfeen096019573379
diff --git a/client/src/pages/PlaygroundPage.tsx b/client/src/pages/PlaygroundPage.tsx
index 7a93948c..77621e63 100644
--- a/client/src/pages/PlaygroundPage.tsx
+++ b/client/src/pages/PlaygroundPage.tsx
@@ -158,6 +158,13 @@ export default function PlaygroundPage() {
</span>
</SelectItem>
))}
+ {availableModels.length === 0 && (
+ // Models only appear once a platform has an enabled key. Without
+ // one, the list is just "Auto" and looks broken — say why. (#269)
+ <div className="px-2 py-1.5 text-xs text-muted-foreground">
+ No models yet. Add an API key on the Keys page to populate this list.
+ </div>
+ )}
</SelectContent>
</Select>
{messages.length > 0 && (