Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(ai): stop per-entity collapse in ContentSearch/NameSearch (#4127)

gbirmanacbfeb1d76b6
diff --git a/rust/cloud-storage/ai_tools/src/search/search_service/content.rs b/rust/cloud-storage/ai_tools/src/search/search_service/content.rs
index b709611b6d..ed61faffe9 100644
--- a/rust/cloud-storage/ai_tools/src/search/search_service/content.rs
+++ b/rust/cloud-storage/ai_tools/src/search/search_service/content.rs
@@ -62,7 +62,7 @@ impl AsyncTool<Arc<SearchServiceClient>> for ContentSearch {
filters: entity_filters_from_include(self.entity_types.clone(), base_filters),
search_on: models_search::SearchOn::Content,
include_crm: false,
- collapse: Some(true),
+ collapse: None,
};
let response = search_client
diff --git a/rust/cloud-storage/ai_tools/src/search/search_service/name.rs b/rust/cloud-storage/ai_tools/src/search/search_service/name.rs
index 3a868c01db..f6b1a067ff 100644
--- a/rust/cloud-storage/ai_tools/src/search/search_service/name.rs
+++ b/rust/cloud-storage/ai_tools/src/search/search_service/name.rs
@@ -62,7 +62,7 @@ impl AsyncTool<Arc<SearchServiceClient>> for NameSearch {
filters: entity_filters_from_include(self.entity_types.clone(), base_filters),
search_on: models_search::SearchOn::Name,
include_crm: false,
- collapse: Some(true),
+ collapse: None,
};
let response = search_client