From 91168a8213cf3ec090ad850f4ee9ed16e5aac461 Mon Sep 17 00:00:00 2001 From: robbond Date: Tue, 4 Aug 2026 13:15:56 +0100 Subject: [PATCH] feat: show investigation history --- components/reasoning-workspace.jsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/components/reasoning-workspace.jsx b/components/reasoning-workspace.jsx index 5e1d4c7..43d14cb 100644 --- a/components/reasoning-workspace.jsx +++ b/components/reasoning-workspace.jsx @@ -212,8 +212,8 @@ function InvestigationHistoryCard({ turn }) {

{turn.question}

{turn.answer}

- {turn.engineResponse && ( -

{turn.engineResponse}

+ {turn.acknowledgement && ( +

{turn.acknowledgement}

)}
@@ -405,12 +405,12 @@ export default function ReasoningWorkspace({ { question: typeof q === "string" ? q : q?.question ?? "", answer: lastSubmittedAnswer, - engineResponse: result?.summary || null, + acknowledgement: result?.summary || null, timestamp: Date.now(), }, ]); } - }, [updateStatus, lastSubmittedAnswer]); + }, [updateStatus, lastSubmittedAnswer, result]); const { elapsed: startElapsed, currentMessage: startMsg } = useLoadingStatus( INITIAL_MESSAGES, @@ -485,6 +485,9 @@ export default function ReasoningWorkspace({ {graph && } {graph && } + {/* ── Investigation history (below situation, above current focus) ─ */} + + {/* Active investigation (only when we have a question to answer) */} {canAnswer && } {canAnswer && } @@ -521,9 +524,6 @@ export default function ReasoningWorkspace({ )} - {/* ── Investigation history (below the answer form) ─ */} - - {/* ── Developer details (collapsed by default) ─── */} {(status === "success" || status === "error") && graph && (