mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 07:30:43 +00:00
fix(logging): include context assembly diagnostics in stability log
This commit is contained in:
@@ -185,6 +185,12 @@ function sanitizeDiagnosticEvent(event: DiagnosticEventPayload): DiagnosticStabi
|
||||
record.costUsd = event.costUsd;
|
||||
record.durationMs = event.durationMs;
|
||||
break;
|
||||
case "context.assembled":
|
||||
record.channel = event.channel;
|
||||
record.provider = event.provider;
|
||||
record.model = event.model;
|
||||
record.count = event.messageCount;
|
||||
break;
|
||||
case "webhook.received":
|
||||
record.channel = event.channel;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user