mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-26 17:09:28 +08:00
feat(release): v1.4.0 cloud pricing sync, one-click plugin update, and UI copy refresh
This commit is contained in:
@@ -50,13 +50,13 @@ export function formatUsd(amount, { precise = false, estimated = false, unpriced
|
||||
|
||||
export function speedReasonText(reason) {
|
||||
return ({
|
||||
compaction: '上下文自动压缩,不纳入均速',
|
||||
incomplete_or_invalid_timing: '未完成或计时缺失',
|
||||
invalid_output_tokens: '输出 Token 数异常',
|
||||
inconsistent_timing: '首字节响应与总耗时数据不一致',
|
||||
short_timing: '计时过短,暂不测速',
|
||||
short_sample: '样本太少,暂不计入均速',
|
||||
legacy_cache: '缓存已过期,等待刷新',
|
||||
compaction: '自动压缩步骤,不计入均速',
|
||||
incomplete_or_invalid_timing: '生成未完成',
|
||||
invalid_output_tokens: '无有效输出',
|
||||
inconsistent_timing: '耗时数据异常',
|
||||
short_timing: '耗时过短,不计入',
|
||||
short_sample: '输出过短,不计入均速',
|
||||
legacy_cache: '旧版缓存记录',
|
||||
})[reason] || '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user