From 91f24566568ab64ec3dc14968724f00de8bbd94b Mon Sep 17 00:00:00 2001 From: jnjpng Date: Wed, 25 Feb 2026 11:19:05 -0800 Subject: [PATCH] feat: add telemetry tracking for conversation-busy retries (#1135) Co-authored-by: Letta --- src/cli/App.tsx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/cli/App.tsx b/src/cli/App.tsx index 94fd6a4..d70c4e5 100644 --- a/src/cli/App.tsx +++ b/src/cli/App.tsx @@ -3572,6 +3572,20 @@ export default function App({ CONVERSATION_BUSY_RETRY_BASE_DELAY_MS * 2 ** (conversationBusyRetriesRef.current - 1); + // Log the conversation-busy error + telemetry.trackError( + "retry_conversation_busy", + errorDetail || "Conversation is busy", + "pre_stream_retry", + { + httpStatus: + preStreamError instanceof APIError + ? preStreamError.status + : undefined, + modelId: currentModelId || undefined, + }, + ); + // Show status message const statusId = uid("status"); buffersRef.current.byId.set(statusId, {