import React, { useState } from 'react'; import { Eye, EyeOff } from 'lucide-react'; interface SetupPanelProps { onComplete: (apiKey: string) => void; hasServerKey: boolean; } export default function SetupPanel({ onComplete, hasServerKey }: SetupPanelProps) { const [key, setKey] = useState(''); const [show, setShow] = useState(false); const handleSubmit = () => { if (hasServerKey) { onComplete(''); return; } if (key.trim().length > 10) onComplete(key.trim()); }; return (
Institutional-grade equity analysis for Indian listed companies
A Gemini API key has been configured on the server. You can begin analysis immediately.
Enter your Google Gemini 2.5 Flash API key. It stays in your browser session only and is never stored on any server.{' '} Get one free →
Supports Banking · NBFC · IT · Pharma · FMCG · Auto · Metal · Infra · Energy