diff --git a/app/page.tsx b/app/page.tsx index 56151f0..dc20586 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -386,41 +386,28 @@ export default function Home() { )} - - - {messages.map((message, index) => ( - - {message.role === 'assistant' && message.content && ( - - -

Answer

-
- {renderMarkdown(message.content)} -
-
-
- )} - {message.toolInvocations?.map((toolInvocation: ToolInvocation, toolIndex: number) => ( -
- {renderToolInvocation(toolInvocation, toolIndex)} -
- ))} -
- ))} -
- - +
+ {messages.map((message, index) => ( +
+ {message.role === 'assistant' && message.content && ( + + +

Answer

+
+ {renderMarkdown(message.content)} +
+
+
+ )} + {message.toolInvocations?.map((toolInvocation: ToolInvocation, toolIndex: number) => ( +
+ {renderToolInvocation(toolInvocation, toolIndex)} +
+ ))} +
+ ))} +
+