fix(model-selector): remove free-tier lock emojis (#1176)

This commit is contained in:
Sarah Wooders
2026-02-26 17:58:32 -08:00
committed by GitHub
parent 932147b642
commit c5a8871be7

View File

@@ -614,18 +614,14 @@ export function ModelSelector({
return "All models currently available for this account";
}
if (cat === "supported") {
return isFreeTier
? "Upgrade your account to access more models"
: "Recommended Letta API models currently available for this account";
return "Recommended Letta API models currently available for this account";
}
if (cat === "byok")
return "Recommended models via your connected API keys (use /connect to add more)";
if (cat === "byok-all")
return "All models via your connected API keys (use /connect to add more)";
if (cat === "all") {
return isFreeTier
? "Upgrade your account to access more models"
: "All Letta API models currently available for this account";
return "All Letta API models currently available for this account";
}
return "All Letta API models currently available for this account";
};
@@ -717,11 +713,6 @@ export function ModelSelector({
const actualIndex = startIndex + index;
const isSelected = actualIndex === selectedIndex;
const isCurrent = model.id === currentModelId;
// Show lock for non-free models when on free tier (only for Letta API tabs)
const showLock =
isFreeTier &&
!model.free &&
(category === "supported" || category === "all");
return (
<Box key={model.id} flexDirection="row">
@@ -732,7 +723,6 @@ export function ModelSelector({
>
{isSelected ? "> " : " "}
</Text>
{showLock && <Text dimColor>🔒 </Text>}
<Text
bold={isSelected}
color={