diff --git a/site/src/pages/AgentsPage/AgentChatPage.tsx b/site/src/pages/AgentsPage/AgentChatPage.tsx index 72db3d8b9e..1361fb2afe 100644 --- a/site/src/pages/AgentsPage/AgentChatPage.tsx +++ b/site/src/pages/AgentsPage/AgentChatPage.tsx @@ -1270,9 +1270,7 @@ const AgentChatPage: FC = () => { toast.info("No current goal."); }, onPausedRunningGoal: () => { - toast.info( - "Goal paused. The current turn may continue. Use Stop for immediate interruption.", - ); + toast.info("Goal paused. Use Stop to halt the current turn."); }, }); }; diff --git a/site/src/pages/AgentsPage/components/ChatGoalBanner.stories.tsx b/site/src/pages/AgentsPage/components/ChatGoalBanner.stories.tsx index dd92515359..31c2bf9dfd 100644 --- a/site/src/pages/AgentsPage/components/ChatGoalBanner.stories.tsx +++ b/site/src/pages/AgentsPage/components/ChatGoalBanner.stories.tsx @@ -34,6 +34,9 @@ export const Active: Story = { const canvas = within(canvasElement); expect(canvas.getByLabelText("Current goal")).toBeVisible(); expect(canvas.getByText("Active")).toBeVisible(); + expect( + canvas.getByText("Ship the frontend goal command UX with tests."), + ).toBeVisible(); await userEvent.click(canvas.getByRole("button", { name: /Pause/i })); await userEvent.click(canvas.getByRole("button", { name: /Complete/i })); diff --git a/site/src/pages/AgentsPage/components/ChatGoalBanner.tsx b/site/src/pages/AgentsPage/components/ChatGoalBanner.tsx index b103cd140e..196c262feb 100644 --- a/site/src/pages/AgentsPage/components/ChatGoalBanner.tsx +++ b/site/src/pages/AgentsPage/components/ChatGoalBanner.tsx @@ -78,7 +78,7 @@ export const ChatGoalBanner: FC = ({

- {goal.objective.trim() || "No objective provided."} + {goal.objective}

{goal.completion_summary ? (