-
+
How can I help you today?
@@ -69,11 +71,13 @@ export default function ChatList({
{message.role === "assistant" && (
-
+
{/* Check if the message content contains a code block */}
diff --git a/src/components/sidebar.tsx b/src/components/sidebar.tsx
index 160ca34..f72c32b 100644
--- a/src/components/sidebar.tsx
+++ b/src/components/sidebar.tsx
@@ -20,7 +20,6 @@ import {
import { DialogClose } from "@radix-ui/react-dialog";
import { ChatOptions } from "./chat/chat-options";
-
interface SidebarProps {
isCollapsed: boolean;
messages: Message[];
@@ -154,13 +153,15 @@ export function Sidebar({
>
{!isCollapsed && !isMobile && (
-
+
)}
New chat
@@ -178,7 +179,10 @@ export function Sidebar({
{localChats[group].map(({ chatId, messages }, chatIndex) => (
- -
+
-