From 9682bee15765a4009bb1f5668448d73539e49311 Mon Sep 17 00:00:00 2001 From: Alice Hau <110418948+ahau-square@users.noreply.github.com> Date: Tue, 11 Mar 2025 18:47:15 -0400 Subject: [PATCH] fix: remove conditional that breaks output display for tool calls (#1631) --- ui/desktop/src/components/ToolCallWithResponse.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/ui/desktop/src/components/ToolCallWithResponse.tsx b/ui/desktop/src/components/ToolCallWithResponse.tsx index 887c0c5f..ce1926dc 100644 --- a/ui/desktop/src/components/ToolCallWithResponse.tsx +++ b/ui/desktop/src/components/ToolCallWithResponse.tsx @@ -84,9 +84,6 @@ function ToolResultView({ result }: ToolResultViewProps) { // Find results where either audience is not set, or it's set to a list that includes user const filteredResults = result.filter((item) => { - if (!item.annotations) { - return false; - } // Check audience (which may not be in the type) const audience = item.annotations?.audience;