Skip to content

Commit b333c17

Browse files
t3dotggclaude
andauthored
fix(web): compact toggle shows the token count again (#25818)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent f81c4cd commit b333c17

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/web/src/components/chat/ComposerPrimaryActions.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,8 +378,8 @@ export const ComposerPrimaryActions = memo(function ComposerPrimaryActions({
378378
}
379379
>
380380
<Minimize2Icon aria-hidden="true" />
381-
{/* The token count lives in the tooltip so the permission label keeps its room. */}
382-
{keepFullHistory ? "Keep full" : "Compact next"}
381+
{keepFullHistory ? "Keep" : "Compact"}
382+
<span className="text-muted-foreground">{compactTokens}</span>
383383
</TooltipTrigger>
384384
<TooltipPopup>
385385
<div>

0 commit comments

Comments
 (0)