From a2eaafceafe90413ecf67a1bd5141b596600b420 Mon Sep 17 00:00:00 2001 From: moe-berri Date: Tue, 6 Oct 2026 14:09:18 -0700 Subject: [PATCH] fix(lens): retain precise tool attempt result states --- .../components/lens/traces/detail/conversation/conversation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/litellm-dashboard/src/components/lens/traces/detail/conversation/conversation.ts b/ui/litellm-dashboard/src/components/lens/traces/detail/conversation/conversation.ts index 96840e95cee..9fc1a798a65 100644 --- a/ui/litellm-dashboard/src/components/lens/traces/detail/conversation/conversation.ts +++ b/ui/litellm-dashboard/src/components/lens/traces/detail/conversation/conversation.ts @@ -164,7 +164,7 @@ function toolItem( detail.attributes["lens.content.input_status"] === "conflicting" ? "Conflicting tool arguments were recorded. Inspect the capture source spans." : undefined; - const toolAttempt = + const toolAttempt: ConversationItem["toolAttempt"] = detail.attributes["lens.content.execution_status"] === "not_recorded" ? { isError: detail.attributes["lens.content.tool_result_is_error"] === "1",