diff --git a/src/interface/web/app/components/sidePanel/chatHistorySidePanel.tsx b/src/interface/web/app/components/sidePanel/chatHistorySidePanel.tsx index 3c542e32..f4a57607 100644 --- a/src/interface/web/app/components/sidePanel/chatHistorySidePanel.tsx +++ b/src/interface/web/app/components/sidePanel/chatHistorySidePanel.tsx @@ -369,6 +369,7 @@ function SessionsAndFiles(props: SessionsAndFilesProps) { interface ChatSessionActionMenuProps { conversationId: string; + setTitle: (title: string) => void; } function ChatSessionActionMenu(props: ChatSessionActionMenuProps) { @@ -409,6 +410,7 @@ function ChatSessionActionMenu(props: ChatSessionActionMenuProps) { @@ -529,6 +531,7 @@ function ChatSessionActionMenu(props: ChatSessionActionMenuProps) { function ChatSession(props: ChatHistory) { const [isHovered, setIsHovered] = useState(false); + const [title, setTitle] = useState(props.slug || "New Conversation 🌱"); var currConversationId = parseInt(new URLSearchParams(window.location.search).get('conversationId') || "-1"); return (
{props.slug || "New Conversation 🌱"}
+{title}
-