diff --git a/components/AIAssist.tsx b/components/AIAssist.tsx index 7e824ad..601bacb 100644 --- a/components/AIAssist.tsx +++ b/components/AIAssist.tsx @@ -642,7 +642,7 @@ export default function AIAssist({ vibeMode = false }: { vibeMode?: boolean } = // Plan-first workflow only applies to the "code" agent (software architect) // SEO, content, smm, design, web, app agents go straight to preview - const isCodeAgent = currentAgent === "code" || currentAgent === "general"; + const isCodeAgent = currentAgent === "code"; const wasIdle = !isApproval && isCodeAgent && (assistStep === "idle" || assistStep === "plan"); // Detect if user is modifying an existing visual artifact (not text-only agents like SEO/content) const isVisualAgent = currentAgent === "code" || currentAgent === "web" || currentAgent === "app" || currentAgent === "design" || currentAgent === "general"; @@ -1261,7 +1261,7 @@ export default function AIAssist({ vibeMode = false }: { vibeMode?: boolean } = {/* Agentic Plan Review Card */} - {msg.role === "assistant" && aiPlan && i === aiAssistHistory.length - 1 && assistStep === "plan" && (currentAgent === "code" || currentAgent === "general") && ( + {msg.role === "assistant" && aiPlan && i === aiAssistHistory.length - 1 && assistStep === "plan" && (currentAgent === "code") && (