Phiên tra cứu gần đây
{filteredSessions.length}
{filteredSessions.length === 0 ? (
Chưa có lịch sử tra cứu nào
) : (
filteredSessions.map((session) => {
const isActive = session.id === currentSessionId;
return (
onSelectSession(session.id)}
className={cn(
"group relative flex items-center justify-between gap-2 p-2.5 rounded-xl text-xs transition-all cursor-pointer select-none",
isActive
? "bg-accent-soft/40 text-accent-primary font-semibold border border-border-accent/40"
: "text-txt-secondary hover:bg-surface-hover hover:text-txt-primary"
)}
>
{session.title}
{onDeleteSession && (
)}
);
})
)}
{/* Quick Prompts Section */}
Mẫu tra cứu nhanh
{QUICK_PROMPTS.map((prompt, idx) => (
))}
{/* System Stats Footer */}