Skip to content

Commit f5d05fa

Browse files
committed
Repair the context utilization tooltip string when the token threshold is exceeded
1 parent 6e9e3b1 commit f5d05fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/ui/src/components/editor/panel/ContextUtilisation/ContextUtilisation.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const ContextUtilisation: React.FC<Props> = (props) => {
4242
const formatted_remaining_tokens = format_tokens(remaining_tokens)
4343
title_text = `${formatted_remaining_tokens} tokens remaining until threshold warning (change in settings)`
4444
} else {
45-
title_text = `Context of size ${formatted_current_size} exceeds threshold ${formatted_threshold} by `
45+
title_text = `Context of size ${formatted_current_size} tokens exceeds threshold by ${formatted_threshold} tokens`
4646
}
4747

4848
return (

0 commit comments

Comments
 (0)