feat: include recent chunks in error telemetry (#1134)
This commit is contained in:
@@ -2910,6 +2910,7 @@ export default function App({
|
||||
if (!skipTelemetry) {
|
||||
telemetry.trackError("ui_error", text, "error_display", {
|
||||
modelId: currentModelId || undefined,
|
||||
recentChunks: chunkLog.getEntries(),
|
||||
});
|
||||
}
|
||||
},
|
||||
@@ -4764,6 +4765,7 @@ export default function App({
|
||||
{
|
||||
modelId: currentModelId || undefined,
|
||||
runId: lastRunId ?? undefined,
|
||||
recentChunks: chunkLog.getEntries(),
|
||||
},
|
||||
);
|
||||
|
||||
@@ -4934,6 +4936,7 @@ export default function App({
|
||||
httpStatus,
|
||||
modelId: currentModelId || undefined,
|
||||
runId: currentRunId,
|
||||
recentChunks: chunkLog.getEntries(),
|
||||
});
|
||||
|
||||
// Use comprehensive error formatting
|
||||
|
||||
Reference in New Issue
Block a user