fix(context): address review - clarify threshold alignment, i18n strings, add test coverage
This commit is contained in:
1 parent
5f826f4448
commit
296a8ae287
13 files changed
+101
-6
No files matched your search
@@ -147,14 +147,14 @@ export function ContextUsageRing({
|
||||
|
||||
<div className="mt-2 space-y-0.5">
|
||||
<div className="flex items-center justify-between text-[10px]">
|
||||
<span className="text-muted-foreground">Compress at</span>
|
||||
<span className="text-muted-foreground">{t("chat.contextCompressAt")}</span>
|
||||
<span className="tabular-nums">
|
||||
{formatTokens(usage.compress_at_tokens)}
|
||||
</span>
|
||||
</div>
|
||||
{usage.summarize_at_tokens != null && usage.summarize_at_tokens > 0 && (
|
||||
<div className="flex items-center justify-between text-[10px]">
|
||||
<span className="text-muted-foreground">Summarize at</span>
|
||||
<span className="text-muted-foreground">{t("chat.contextSummarizeAt")}</span>
|
||||
<span className="tabular-nums">
|
||||
{formatTokens(usage.summarize_at_tokens)}
|
||||
</span>
|
||||
|
||||
Reference in new issue
Block a user