/* * ============================================================================= * VibeQuant (vquant) — AI-Powered Financial Intelligence Platform * ----------------------------------------------------------------------------- * File: client/src/components/chat/agent-steps.tsx * * Author: Simon-Pierre Boucher * Contact: contact@spboucher.ai * Website: https://www.spboucher.ai * Demo: https://www.vquant.ai * License: MIT (see LICENSE) * * Copyright © 2026 Simon-Pierre Boucher. All rights reserved. * ============================================================================= */ import { Check } from "lucide-react"; export interface AgentStep { tool: string; status: 'pending' | 'running' | 'completed' | 'error'; input?: any; error?: string; duration?: number; } interface AgentStepsProps { steps: AgentStep[]; currentStep?: number; } export function AgentSteps({ steps, currentStep }: AgentStepsProps) { if (steps.length === 0) return null; // Only show completed steps with simple green circle and checkmark const completedSteps = steps.filter(s => s.status === 'completed'); if (completedSteps.length === 0) return null; return (
{completedSteps.map((step, index) => (
{step.tool.replace(/_/g, ' ')}
))}
); }