From 5ecd87498818b56644748a9b3b742e56f7e0b49e Mon Sep 17 00:00:00 2001 From: Soumyadas15 Date: Fri, 6 Jun 2025 17:12:58 +0530 Subject: [PATCH] fix(bug): agent not starting on landing page - fix --- frontend/src/components/home/sections/hero-section.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/frontend/src/components/home/sections/hero-section.tsx b/frontend/src/components/home/sections/hero-section.tsx index 9209934a..32d280a1 100644 --- a/frontend/src/components/home/sections/hero-section.tsx +++ b/frontend/src/components/home/sections/hero-section.tsx @@ -135,11 +135,8 @@ export function HeroSection() { setInitiatedThreadId(result.thread_id); setInputValue(''); } catch (error: any) { - console.error('Error creating agent:', error); - if (error instanceof BillingError) { - console.log('Handling BillingError from hero section:', error.detail); - onOpen("paymentRequiredDialog"); + console.log('Billing error:'); } else { const isConnectionError = error instanceof TypeError &&