mirror of
https://github.com/aljazceru/goose.git
synced 2026-01-07 16:34:23 +01:00
fix: remove conditional that breaks output display for tool calls (#1631)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user