diff --git a/web-app/src/containers/ThinkingBlock.tsx b/web-app/src/containers/ThinkingBlock.tsx index 55b727ed5..498e61607 100644 --- a/web-app/src/containers/ThinkingBlock.tsx +++ b/web-app/src/containers/ThinkingBlock.tsx @@ -22,6 +22,7 @@ interface Props { steps?: ReActStep[] // Updated type loading?: boolean duration?: number + linkComponents?: object } // Utility function to safely parse JSON @@ -69,6 +70,7 @@ const ThinkingBlock = ({ steps = [], loading: propLoading, duration, + linkComponents, }: Props) => { const thinkingState = useThinkingStore((state) => state.thinkingState) const setThinkingState = useThinkingStore((state) => state.setThinkingState) @@ -157,7 +159,7 @@ const ThinkingBlock = ({ contentDisplay = ( <>

- Tool Call: {step.content} + Tool Input: {step.content}

{args && (
@@ -210,14 +212,22 @@ const ThinkingBlock = ({ <>

Tool Output:

- +
) } } else { contentDisplay = ( - + ) } diff --git a/web-app/src/containers/ThreadContent.tsx b/web-app/src/containers/ThreadContent.tsx index f8f4de055..4e48f4807 100644 --- a/web-app/src/containers/ThreadContent.tsx +++ b/web-app/src/containers/ThreadContent.tsx @@ -642,6 +642,7 @@ export const ThreadContent = memo( duration={ item.metadata?.totalThinkingTime as number | undefined } + linkComponents={linkComponents} /> )}