-
+
How can I help you today?
@@ -71,13 +69,11 @@ 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 f72c32b..160ca34 100644
--- a/src/components/sidebar.tsx
+++ b/src/components/sidebar.tsx
@@ -20,6 +20,7 @@ import {
import { DialogClose } from "@radix-ui/react-dialog";
import { ChatOptions } from "./chat/chat-options";
+
interface SidebarProps {
isCollapsed: boolean;
messages: Message[];
@@ -153,15 +154,13 @@ export function Sidebar({
>
{!isCollapsed && !isMobile && (
-
+
)}
New chat
@@ -179,10 +178,7 @@ export function Sidebar({
{localChats[group].map(({ chatId, messages }, chatIndex) => (
- -
+
-