diff --git a/frontend/src/components/tasks/TaskDetailsPanel.tsx b/frontend/src/components/tasks/TaskDetailsPanel.tsx index ebccdbcf..2104a04e 100644 --- a/frontend/src/components/tasks/TaskDetailsPanel.tsx +++ b/frontend/src/components/tasks/TaskDetailsPanel.tsx @@ -191,7 +191,6 @@ export function TaskDetailsPanel({ followUpError={followUpError} setFollowUpError={setFollowUpError} canSendFollowUp={canSendFollowUp} - isAttemptRunning={isAttemptRunning} projectId={projectId} onSendFollowUp={handleSendFollowUp} /> diff --git a/frontend/src/components/tasks/TaskFollowUpSection.tsx b/frontend/src/components/tasks/TaskFollowUpSection.tsx index 11116b22..a3e320cc 100644 --- a/frontend/src/components/tasks/TaskFollowUpSection.tsx +++ b/frontend/src/components/tasks/TaskFollowUpSection.tsx @@ -1,7 +1,6 @@ import { Send, AlertCircle } from 'lucide-react'; import { Button } from '@/components/ui/button'; import { Alert, AlertDescription } from '@/components/ui/alert'; -import { Label } from '@/components/ui/label'; import { FileSearchTextarea } from '@/components/ui/file-search-textarea'; interface TaskFollowUpSectionProps { @@ -11,7 +10,6 @@ interface TaskFollowUpSectionProps { followUpError: string | null; setFollowUpError: (error: string | null) => void; canSendFollowUp: boolean; - isAttemptRunning: boolean; projectId: string; onSendFollowUp: () => void; } @@ -23,23 +21,21 @@ export function TaskFollowUpSection({ followUpError, setFollowUpError, canSendFollowUp, - isAttemptRunning, projectId, onSendFollowUp, }: TaskFollowUpSectionProps) { return ( -
- {!canSendFollowUp - ? isAttemptRunning - ? 'Wait for current execution to complete before asking follow-up questions' - : 'Complete at least one coding agent execution to enable follow-up questions' - : 'Continue the conversation with the most recent executor session'} -