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
|
// Find results where either audience is not set, or it's set to a list that includes user
|
||||||
const filteredResults = result.filter((item) => {
|
const filteredResults = result.filter((item) => {
|
||||||
if (!item.annotations) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
// Check audience (which may not be in the type)
|
// Check audience (which may not be in the type)
|
||||||
const audience = item.annotations?.audience;
|
const audience = item.annotations?.audience;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user