Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(chat): remove usage limit banner and openrouter error from hero and home

Steven Enamakel06160daa4df0
diff --git a/app/src/components/chat/ChatNewWindowHero.tsx b/app/src/components/chat/ChatNewWindowHero.tsx
index 4b88c32692..59df18c2eb 100644
--- a/app/src/components/chat/ChatNewWindowHero.tsx
+++ b/app/src/components/chat/ChatNewWindowHero.tsx
@@ -117,29 +117,6 @@ export default function ChatNewWindowHero() {
return (
<div className="mx-auto flex h-full w-full max-w-md flex-col justify-center py-4">
- {shouldShowBudgetCompletedMessage && (
- <UsageLimitBanner
- tone="danger"
- icon="⚠️"
- title={t('home.usageExhaustedTitle')}
- message={t('home.usageExhaustedBody')}
- ctaLabel={t('home.usageExhaustedCta')}
- secondaryCtaLabel={
- openRouterStatus === 'saving' ? t('openrouterFree.saving') : t('openrouterFree.cta')
- }
- onSecondaryCtaClick={() => {
- if (openRouterStatus !== 'saving') {
- void handleUseOpenRouterFree();
- }
- }}
- />
- )}
- {openRouterStatus === 'error' && (
- <div className="mb-3 rounded-lg border border-coral-200 bg-coral-50 px-3 py-2 text-xs text-coral-700 dark:border-coral-500/30 dark:bg-coral-900/20 dark:text-coral-200">
- {t('openrouterFree.error')}
- </div>
- )}
-
{showPromoBanner && <PromotionalCreditsBanner promoCredits={promoCredits} />}
{/* Main card — sizes to its content. The full height lives on the
diff --git a/app/src/pages/Home.tsx b/app/src/pages/Home.tsx
index eddbdfded1..8c4d1ee561 100644
--- a/app/src/pages/Home.tsx
+++ b/app/src/pages/Home.tsx
@@ -140,29 +140,6 @@ const Home = () => {
</h1>
<div className="max-w-md w-full">
- {shouldShowBudgetCompletedMessage && (
- <UsageLimitBanner
- tone="danger"
- icon="⚠️"
- title={t('home.usageExhaustedTitle')}
- message={t('home.usageExhaustedBody')}
- ctaLabel={t('home.usageExhaustedCta')}
- secondaryCtaLabel={
- openRouterStatus === 'saving' ? t('openrouterFree.saving') : t('openrouterFree.cta')
- }
- onSecondaryCtaClick={() => {
- if (openRouterStatus !== 'saving') {
- void handleUseOpenRouterFree();
- }
- }}
- />
- )}
- {openRouterStatus === 'error' && (
- <div className="mb-3 rounded-lg border border-coral-200 bg-coral-50 px-3 py-2 text-xs text-coral-700 dark:border-coral-500/30 dark:bg-coral-900/20 dark:text-coral-200">
- {t('openrouterFree.error')}
- </div>
- )}
-
{showPromoBanner && <PromotionalCreditsBanner promoCredits={promoCredits} />}
{/* Main card — data-walkthrough target for step 1 */}