import { useState, useEffect } from 'react'; import './Sidebar.css'; export default function Sidebar({ conversations, currentConversationId, onSelectConversation, onNewConversation, }) { return (

LLM Council

{conversations.length === 0 ? (
No conversations yet
) : ( conversations.map((conv) => (
onSelectConversation(conv.id)} >
{conv.title || 'New Conversation'}
{conv.message_count} messages
)) )}
); }