File tree Expand file tree Collapse file tree
apps/webapp/app/components/dashboard-agent Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { Spinner } from "~/components/primitives/Spinner";
44import { MessageBubble , renderPart } from "~/components/runs/v3/agent/AgentMessageView" ;
55import { useAutoScrollToBottom } from "~/hooks/useAutoScrollToBottom" ;
66import { reuseWinners } from "./investigation-winners" ;
7+ import { answerContinuesAfter } from "./view-actions" ;
78import { ViewBlocks } from "./view-catalog" ;
89
910// The shared MessageBubble renders `step-start` parts as a dashed "step" separator —
@@ -119,7 +120,13 @@ export function DashboardAgentMessageBubble({
119120 if ( blocks . length === 0 ) return null ;
120121 // No `onIntent`: nothing here can act on one yet, so the cards drop their
121122 // action rows rather than offer buttons that would do nothing.
122- return < ViewBlocks key = { i } blocks = { blocks as never } /> ;
123+ return (
124+ < ViewBlocks
125+ key = { i }
126+ blocks = { blocks as never }
127+ answered = { answerContinuesAfter ( message . parts as never , i ) }
128+ />
129+ ) ;
123130 } ) }
124131 </ div >
125132 ) ;
You can’t perform that action at this time.
0 commit comments