diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/DecomposeGoal/DecomposeGoal.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/DecomposeGoal/DecomposeGoal.tsx index fde9c67dc4..dbab6ddd7e 100644 --- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/DecomposeGoal/DecomposeGoal.tsx +++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/DecomposeGoal/DecomposeGoal.tsx @@ -27,7 +27,7 @@ import { ToolIcon, } from "./helpers"; -const COUNTDOWN_SECONDS = 99; +const COUNTDOWN_SECONDS = 60; const RADIUS = 15; const CIRCUMFERENCE = 2 * Math.PI * RADIUS; @@ -191,21 +191,27 @@ export function DecomposeGoalTool({ part, isLastMessage }: Props) { {editableSteps.map((step, i) => (
-
- +
+ {i + 1}. - { + if (el) { + el.style.height = "auto"; + el.style.height = `${el.scrollHeight}px`; + } + }} value={step.description} onChange={(e) => handleStepChange(i, e.target.value)} - className="flex-1 rounded border border-slate-200 px-2 py-1 text-sm focus:border-neutral-400 focus:outline-none" + rows={1} + className="flex-1 resize-none overflow-hidden rounded border border-slate-200 px-2 py-1 text-sm focus:border-neutral-400 focus:outline-none" placeholder="Step description" />