fix: remove duplicate diagnostic stability case

This commit is contained in:
Peter Steinberger
2026-04-25 20:21:39 +01:00
parent d757396785
commit 03fd7df929

View File

@@ -254,6 +254,7 @@ function sanitizeDiagnosticEvent(event: DiagnosticEventPayload): DiagnosticStabi
record.bytes = event.promptChars;
record.context =
event.contextTokenBudget !== undefined ? { limit: event.contextTokenBudget } : undefined;
record.bytes = event.promptChars;
break;
case "diagnostic.heartbeat":
record.webhooks = { ...event.webhooks };