@@ -469,7 +469,7 @@ export const AgentExecution: React.FC<AgentExecutionProps> = ({
469469 const handleCopyAsMarkdown = async ( ) => {
470470 let markdown = `# Agent Execution: ${ agent . name } \n\n` ;
471471 markdown += `**Task:** ${ task } \n` ;
472- markdown += `**Model:** ${ model === 'opus' ? 'Claude 4 Opus' : ' Claude 4 Sonnet'} \n` ;
472+ markdown += `**Model:** ${ model === 'opus' ? 'Claude Opus' : model === 'haiku' ? ' Claude Haiku' : 'Claude Sonnet'} \n` ;
473473 markdown += `**Date:** ${ new Date ( ) . toISOString ( ) } \n\n` ;
474474 markdown += `---\n\n` ;
475475
@@ -553,7 +553,7 @@ export const AgentExecution: React.FC<AgentExecutionProps> = ({
553553 < div >
554554 < h1 className = "text-heading-1" > { agent . name } </ h1 >
555555 < p className = "mt-1 text-body-small text-muted-foreground" >
556- { isRunning ? 'Running' : messages . length > 0 ? 'Complete' : 'Ready' } • { model === 'opus' ? 'Claude 4 Opus' : ' Claude 4 Sonnet'}
556+ { isRunning ? 'Running' : messages . length > 0 ? 'Complete' : 'Ready' } • { model === 'opus' ? 'Claude Opus' : model === 'haiku' ? ' Claude Haiku' : 'Claude Sonnet'}
557557 </ p >
558558 </ div >
559559 </ div >
@@ -616,10 +616,10 @@ export const AgentExecution: React.FC<AgentExecutionProps> = ({
616616 < div className = "w-2 h-2 rounded-full bg-primary" />
617617 ) }
618618 </ div >
619- < div className = "text-left" >
620- < div className = "text-body-small font-medium" > Claude 4 Sonnet</ div >
621- < div className = "text-caption text-muted-foreground" > Faster, efficient </ div >
622- </ div >
619+ < div className = "text-left" >
620+ < div className = "text-body-small font-medium" > Claude Sonnet</ div >
621+ < div className = "text-caption text-muted-foreground" > Balanced performance </ div >
622+ </ div >
623623 </ div >
624624 </ motion . button >
625625
@@ -646,9 +646,39 @@ export const AgentExecution: React.FC<AgentExecutionProps> = ({
646646 < div className = "w-2 h-2 rounded-full bg-primary" />
647647 ) }
648648 </ div >
649+ < div className = "text-left" >
650+ < div className = "text-body-small font-medium" > Claude Opus</ div >
651+ < div className = "text-caption text-muted-foreground" > Most capable</ div >
652+ </ div >
653+ </ div >
654+ </ motion . button >
655+
656+ < motion . button
657+ type = "button"
658+ onClick = { ( ) => ! isRunning && setModel ( "haiku" ) }
659+ whileTap = { { scale : 0.97 } }
660+ transition = { { duration : 0.15 } }
661+ className = { cn (
662+ "flex-1 px-4 py-3 rounded-md border transition-all" ,
663+ model === "haiku"
664+ ? "border-primary bg-primary/10 text-primary"
665+ : "border-border hover:border-primary/50 hover:bg-accent" ,
666+ isRunning && "opacity-50 cursor-not-allowed"
667+ ) }
668+ disabled = { isRunning }
669+ >
670+ < div className = "flex items-center gap-3" >
671+ < div className = { cn (
672+ "w-4 h-4 rounded-full border-2 flex items-center justify-center" ,
673+ model === "haiku" ? "border-primary" : "border-muted-foreground"
674+ ) } >
675+ { model === "haiku" && (
676+ < div className = "w-2 h-2 rounded-full bg-primary" />
677+ ) }
678+ </ div >
649679 < div className = "text-left" >
650- < div className = "text-body-small font-medium" > Claude 4 Opus </ div >
651- < div className = "text-caption text-muted-foreground" > More capable </ div >
680+ < div className = "text-body-small font-medium" > Claude Haiku </ div >
681+ < div className = "text-caption text-muted-foreground" > Fast & efficient </ div >
652682 </ div >
653683 </ div >
654684 </ motion . button >
0 commit comments