show chat titles

This commit is contained in:
Ramnique Singh 2026-01-20 16:36:36 +05:30
parent 146c3d66bd
commit 2683d4e371
4 changed files with 108 additions and 16 deletions

View file

@ -72,6 +72,7 @@ type KnowledgeActions = {
type RunListItem = {
id: string
title?: string
createdAt: string
agentId: string
}
@ -462,7 +463,7 @@ function TasksSection({
className="gap-2"
>
<MessageSquare className="size-4 shrink-0" />
<span className="truncate text-sm">{run.id}</span>
<span className="truncate text-sm">{run.title || '(Untitled chat)'}</span>
</SidebarMenuButton>
</SidebarMenuItem>
))}