Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apps/web/src/components/chat/MessagesTimeline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -791,18 +791,18 @@ const WorkGroupSection = memo(function WorkGroupSection({
{hasOverflow && (
<button
type="button"
className="flex w-full cursor-pointer items-center gap-1.5 rounded-md px-0.5 py-0.5 text-left text-[12px] leading-5 transition-colors duration-150 hover:bg-accent/20 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring/70"
className="flex w-full cursor-pointer items-center gap-1.5 rounded-md px-0.5 py-0.5 text-left text-[12px] leading-5 text-muted-foreground/65 transition-colors duration-150 hover:bg-accent/20 hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring/70"
onClick={toggleExpanded}
>
<span className="flex size-5 shrink-0 items-center justify-center text-muted-foreground/65">
<span className="flex size-5 shrink-0 items-center justify-center">
{isExpanded ? (
<ChevronUpIcon className="size-3.5 shrink-0 opacity-70" />
) : (
<ChevronDownIcon className="size-3.5 shrink-0 opacity-70" />
)}
</span>
{isExpanded ? (
<span className="font-medium text-foreground/82">Show fewer tool calls</span>
<span>Show fewer tool calls</span>
) : (
<span className="font-medium text-foreground/82">
+{hiddenCount} previous tool {hiddenCount === 1 ? "call" : "calls"}
Expand Down
Loading