diff --git a/apps/dbagent/src/components/chats/chats-ui.tsx b/apps/dbagent/src/components/chats/chats-ui.tsx index 24562830..0bafe4fd 100644 --- a/apps/dbagent/src/components/chats/chats-ui.tsx +++ b/apps/dbagent/src/components/chats/chats-ui.tsx @@ -18,7 +18,7 @@ import { Textarea } from '@internal/components'; import { useChat } from 'ai/react'; -import { Bot, Clock, Send, User } from 'lucide-react'; +import { Bot, Clock, Lightbulb, Send, User, Wrench } from 'lucide-react'; import { useSearchParams } from 'next/navigation'; import { useEffect, useRef, useState } from 'react'; import ReactMarkdown from 'react-markdown'; @@ -159,44 +159,66 @@ export function ChatsUI({ connections }: { connections: DbConnection[] }) { )} {messages.map((message) => ( -
{children}
, - ul: ({ children }) =>{children}
- )
- }}
+ {children}
, + ul: ({ children }) =>
+ {children}
+
+ )
+ }}
+ >
+ {message.content}
+