fix: remove conditional that breaks output display for tool calls (#1631)

This commit is contained in:
Alice Hau
2025-03-11 18:47:15 -04:00
committed by GitHub
parent 3404b5be95
commit 9682bee157

View File

@@ -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;