feat(panel): add step anomaly diagnostics, >=100 tok/s integer speed formatting, and capsule alignment fix

This commit is contained in:
fish
2026-11-19 22:28:39 +09:00
parent dfba5ead7b
commit 4a4e483209
20 changed files with 3546 additions and 143 deletions
+34
View File
@@ -37,6 +37,8 @@ export const I18N_MESSAGES_EN_US = Object.freeze({
'fmt.pending': 'N/A',
'fmt.speedIncomplete': 'Incomplete timing',
'fmt.speedCanceled': 'Canceled',
'fmt.speedError': 'Call error',
'fmt.speedInterrupted': 'Interrupted',
'fmt.speedCompactionTimingUnavailable': 'Untimed compaction',
'fmt.speedInvalidOutput': 'No valid output',
'fmt.speedInconsistent': 'Invalid timing',
@@ -299,6 +301,38 @@ export const I18N_MESSAGES_EN_US = Object.freeze({
'steps.fitInactiveCardTitle': 'Click to inspect {text} in Trend Fit (Ctrl/Shift-click to compare)',
'steps.turnMediaOnly': '[Media Attachment]',
'steps.turnMediaSuffix': '[Media]',
'steps.anomalyTag.timeout': 'TO{n}',
'steps.anomalyTag.rate_limit': '429×{n}',
'steps.anomalyTag.capacity': '503×{n}',
'steps.anomalyTag.capacitySingle': '503',
'steps.anomalyTag.disconnect': 'Drop{n}',
'steps.anomalyTag.upstream': '500×{n}',
'steps.anomalyTag.upstreamSingle': '500',
'steps.anomalyTag.model_output': 'Fix{n}',
'steps.anomalyTag.safety': 'Safe{n}',
'steps.anomalyTag.auth_or_model': 'Err{n}',
'steps.anomalyTag.error': 'Err{n}',
'steps.anomalyTag.mixed': 'Warn{n}',
'steps.anomalyKind.timeout': 'Stream Idle / Connect Timeout',
'steps.anomalyKind.rate_limit': '429 Rate Limit / Quota Reached',
'steps.anomalyKind.capacity': '503 No Capacity Available',
'steps.anomalyKind.disconnect': 'Connection Reset / Stream Interrupted',
'steps.anomalyKind.upstream': 'Upstream 5xx Internal Error',
'steps.anomalyKind.model_output': 'Invalid Model Output / Tool Call',
'steps.anomalyKind.safety': 'Content Safety Filter',
'steps.anomalyKind.auth_or_model': 'Request / Model Rejected',
'steps.anomalyKind.error': 'Call Error',
'steps.anomalyKind.canceled': 'Canceled by User',
'steps.anomalyStepTitle': '#{step} · {count} Retries / Errors',
'steps.anomalyDelayPart': 'Backoff {sec}s',
'steps.anomalyTerminalTag': 'Stopped',
'steps.anomalyModelTitle': '{model} · {count} Retries / Errors',
'steps.anomalyModelSub': '{steps} steps affected',
'steps.anomalyModelKindRow': '{kind}: {count}',
'steps.anomalyModelClickHint': 'Click to filter anomalous steps',
'steps.anomalySummaryMeta': '{count} retries/errors ({steps} steps)',
'steps.anomalyFilterLabel': 'Anomalies Only ({count})',
'steps.anomalyFilterAll': 'Show All Steps',
// Step Table Columns (Headers & Option Labels)
'stepCol.step.th': 'Step',