feat: support goose mode in UI (#1434)

Co-authored-by: Lily Delalande <ldelalande@squareup.com>
This commit is contained in:
Yingjie He
2025-02-28 17:00:41 -08:00
committed by GitHub
parent 8f5fba97b8
commit f7f2540287
16 changed files with 320 additions and 19 deletions
@@ -80,6 +80,9 @@ 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;