From e0c4b1ca42175f474559ce04fc7c45eb1aa2c62e Mon Sep 17 00:00:00 2001 From: David Sima Date: Wed, 3 Jun 2026 20:18:01 +0300 Subject: [PATCH] chore(ai-assistant): update suggested questions to filter specific collections --- .../blocks/ai-assistant/ai-assistant_suggested-questions.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hlx_statics/blocks/ai-assistant/ai-assistant_suggested-questions.js b/hlx_statics/blocks/ai-assistant/ai-assistant_suggested-questions.js index 58778be5..d5a2685d 100644 --- a/hlx_statics/blocks/ai-assistant/ai-assistant_suggested-questions.js +++ b/hlx_statics/blocks/ai-assistant/ai-assistant_suggested-questions.js @@ -81,7 +81,10 @@ export const updateSuggestedQuestions = (questions) => { export const getCollectionsQuestions = async () => { const rawCollections = await aiApiClient.getCollections(); const questions = rawCollections - .filter((c) => c.id !== "__all-collections__" && !c.referencedCollectionIds) + // .filter((c) => c.id !== "__all-collections__" && !c.referencedCollectionIds) + .filter((c) => + ["app-builder", "io-events", "developer-console"].includes(c.id), + ) .map((c) => ({ id: c.id, label: c.name,